aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-16 11:23:48 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-04-16 11:23:48 +0000
commit1b2acec24d480ecf728be7918c6a0eebc859d137 (patch)
tree34a630cecca6c262f01033ee690642b94db41c39
parent824ce8f9838e96812384f87155653fa2cb443045 (diff)
downloadenigma2-1b2acec24d480ecf728be7918c6a0eebc859d137.tar.gz
enigma2-1b2acec24d480ecf728be7918c6a0eebc859d137.zip
do not activate repeated timers first time when the start time is before now time
-rw-r--r--timer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/timer.py b/timer.py
index a912f1c6..424dde09 100644
--- a/timer.py
+++ b/timer.py
@@ -50,7 +50,7 @@ class TimerEntry:
print time.strftime("%c", time.localtime(self.begin))
print time.strftime("%c", time.localtime(self.end))
print str(time.localtime(self.begin).tm_wday)
- while ((day[time.localtime(self.begin).tm_wday] != 0) or ((day[time.localtime(self.begin).tm_wday] == 0) and self.end < now)):
+ while ((day[time.localtime(self.begin).tm_wday] != 0) or ((day[time.localtime(self.begin).tm_wday] == 0) and self.begin < now)):
print time.strftime("%c", time.localtime(self.begin))
print time.strftime("%c", time.localtime(self.end))
self.begin += 86400