diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-24 20:56:21 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2009-02-24 20:56:21 +0100 |
| commit | 574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f (patch) | |
| tree | e2ded87bb0e66cd9e88ae8d4ffc3846f788343bf /lib/python/Components/TimerSanityCheck.py | |
| parent | 5a6bde9419249a78c957093e0cc438d7c6eeb46c (diff) | |
| download | enigma2-574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f.tar.gz enigma2-574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f.zip | |
small optimizations and cleanups by Moritz Venn
Diffstat (limited to 'lib/python/Components/TimerSanityCheck.py')
| -rw-r--r-- | lib/python/Components/TimerSanityCheck.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py index cf505022..c0ca10fa 100644 --- a/lib/python/Components/TimerSanityCheck.py +++ b/lib/python/Components/TimerSanityCheck.py @@ -135,8 +135,7 @@ class TimerSanityCheck: self.nrep_eventlist.extend([(new_event_begin, self.bflag, event[1]),(new_event_end, self.eflag, event[1])]) else: offset_0 = 345600 # the Epoch begins on Thursday - weeks = 2 # test two weeks to take care of Sunday-Monday transitions - for cnt in range(weeks): + for cnt in (0, 1): # test two weeks to take care of Sunday-Monday transitions for event in self.rep_eventlist: if event[1] == -1: # -1 is the identifier of the changed timer event_begin = self.newtimer.begin |
