X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=mytest.py;h=1d9594a9ad77b5489bae307412ae626cb46e227b;hp=b58ec2df62d46a4ec8c9543bd656c5377b6a1024;hb=bbbf50f9d0c7d3fbd66b07460a7af835ec111f5b;hpb=55526774d926e19f8e34e94262a9fc939ddf91fc diff --git a/mytest.py b/mytest.py index b58ec2d..1d9594a 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")