diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-04-16 11:23:48 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2006-04-16 11:23:48 +0000 |
| commit | 1b2acec24d480ecf728be7918c6a0eebc859d137 (patch) | |
| tree | 34a630cecca6c262f01033ee690642b94db41c39 /timer.py | |
| parent | 824ce8f9838e96812384f87155653fa2cb443045 (diff) | |
| download | enigma2-1b2acec24d480ecf728be7918c6a0eebc859d137.tar.gz enigma2-1b2acec24d480ecf728be7918c6a0eebc859d137.zip | |
do not activate repeated timers first time when the start time is before now time
Diffstat (limited to 'timer.py')
| -rw-r--r-- | timer.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |
