X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/690b1b1a235752794a92e99bf513a6db01f42748..0d076f400e8740e55289427c0f19c8055c74bbc5:/mytest.py diff --git a/mytest.py b/mytest.py index b58ec2df..1d9594a9 100755 --- a/mytest.py +++ b/mytest.py @@ -376,7 +376,7 @@ class PowerKey: self.standby() def standby(self): - if not Screens.Standby.inStandby and self.session.current_dialog and self.session.current_dialog.ALLOW_SUSPEND: + if not Screens.Standby.inStandby and self.session.current_dialog and self.session.current_dialog.ALLOW_SUSPEND and self.session.in_exec: self.session.open(Screens.Standby.Standby) profile("Scart")