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:
824ce8f
)
do not activate repeated timers first time when the start time is before now time
author
Andreas Monzner
<andreas.monzner@multimedia-labs.de>
Sun, 16 Apr 2006 11:23:48 +0000
(11:23 +0000)
committer
Andreas Monzner
<andreas.monzner@multimedia-labs.de>
Sun, 16 Apr 2006 11:23:48 +0000
(11:23 +0000)
timer.py
patch
|
blob
|
history
diff --git
a/timer.py
b/timer.py
index a912f1c629c0ae4b8f394ad2b61359955810da99..424dde0934d668e557f00313f9ee81feb708fda8 100644
(file)
--- 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)
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
print time.strftime("%c", time.localtime(self.begin))
print time.strftime("%c", time.localtime(self.end))
self.begin += 86400