diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-06-13 20:43:15 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-06-13 20:43:15 +0000 |
| commit | a7df600c514e420df8a7774c6ea8aafb91569a23 (patch) | |
| tree | 9293c71608b2b8f60335e5d2f745cdf09d4716b9 /timer.py | |
| parent | fc6e31df26615c00428cd3aab32ee70d840bb9d5 (diff) | |
| download | enigma2-a7df600c514e420df8a7774c6ea8aafb91569a23.tar.gz enigma2-a7df600c514e420df8a7774c6ea8aafb91569a23.zip | |
just increase timer event endtime in processrepeated when begintime is equal
to endtime
Diffstat (limited to 'timer.py')
| -rw-r--r-- | timer.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -72,7 +72,9 @@ class TimerEntry: #we now have a struct_time representation of begin and end in localtime, but we have to calculate back to (gmt) seconds since epoch self.begin = int(mktime(localbegin)) - self.end = int(mktime(localend)) + 1 + self.end = int(mktime(localend)) + if self.begin == self.end: + self.end += 1 print "ProcessRepeated result" print strftime("%c", localtime(self.begin)) |
