git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdfb751
)
don't allow standby when there is no active screen
author
Felix Domke
<
[email protected]
>
Thu, 26 Mar 2009 16:10:17 +0000
(17:10 +0100)
committer
Felix Domke
<
[email protected]
>
Thu, 26 Mar 2009 16:10:17 +0000
(17:10 +0100)
mytest.py
patch
|
blob
|
history
diff --git
a/mytest.py
b/mytest.py
index b58ec2df62d46a4ec8c9543bd656c5377b6a1024..1d9594a9ad77b5489bae307412ae626cb46e227b 100755
(executable)
--- 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")