git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't grab empty strings in xml2po.py
[enigma2.git]
/
mytest.py
diff --git
a/mytest.py
b/mytest.py
index 7e7c662d15bf03a7cd3cbe5d2e650f5a1403bd5b..2597f8d6866452614ca553659c3e58bff87bb40c 100644
(file)
--- a/
mytest.py
+++ b/
mytest.py
@@
-431,9
+431,9
@@
class PowerKey:
def shutdown(self):
print "PowerOff - Now!"
def shutdown(self):
print "PowerOff - Now!"
- if not Screens.Standby.inTryQuitMainloop:
+ if not Screens.Standby.inTryQuitMainloop
and self.session.current_dialog and self.session.current_dialog.ALLOW_SUSPEND
:
self.session.open(Screens.Standby.TryQuitMainloop, 1)
self.session.open(Screens.Standby.TryQuitMainloop, 1)
-
+
def powerlong(self):
self.standbyblocked = 1
action = config.usage.on_long_powerpress.value
def powerlong(self):
self.standbyblocked = 1
action = config.usage.on_long_powerpress.value