aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-02-27 20:44:27 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-02-27 20:44:27 +0000
commitfdac98ca30eff200afaa92b7cd0464186fa8db88 (patch)
tree6c3d53f9fd310a2160519c181e9d757e12d4f09f
parent7f07fe05cb022af426e84846a5367f3074e6bb8e (diff)
downloadenigma2-fdac98ca30eff200afaa92b7cd0464186fa8db88.tar.gz
enigma2-fdac98ca30eff200afaa92b7cd0464186fa8db88.zip
fix instant repowering
-rw-r--r--mytest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mytest.py b/mytest.py
index 329bba26..70c45a01 100644
--- a/mytest.py
+++ b/mytest.py
@@ -306,7 +306,7 @@ def runScreenTest():
from time import time
nextRecordingTime = session.nav.RecordTimer.getNextRecordingTime()
if nextRecordingTime != -1:
- if (nextRecordingTime < 330): # no time to switch box back on
+ if (nextRecordingTime - time() < 330): # no time to switch box back on
setFPWakeuptime(time() + 30) # so switch back on in 30 seconds
else:
setFPWakeuptime(nextRecordingTime - (300))