aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/TimerSanityCheck.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-12-20 23:21:59 +0100
committerghost <andreas.monzner@multimedia-labs.de>2010-12-20 23:21:59 +0100
commita02b205a9e7009fdcd52c12be88eeb2ca28835db (patch)
tree289994c93eddfe5bc1518a839472c7ed0c27b75c /lib/python/Components/TimerSanityCheck.py
parent0cbccde1b0264df7a0a5f8723b8de881f0d5f927 (diff)
downloadenigma2-a02b205a9e7009fdcd52c12be88eeb2ca28835db.tar.gz
enigma2-a02b205a9e7009fdcd52c12be88eeb2ca28835db.zip
TimerSanityCheck.py: ignore ended singleshot timers in timersanity check (speedup)
fixes #635
Diffstat (limited to 'lib/python/Components/TimerSanityCheck.py')
-rw-r--r--lib/python/Components/TimerSanityCheck.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py
index b472a19e..dc1b519f 100644
--- a/lib/python/Components/TimerSanityCheck.py
+++ b/lib/python/Components/TimerSanityCheck.py
@@ -107,7 +107,7 @@ class TimerSanityCheck:
self.rep_eventlist.append((begin, idx))
begin += 86400
rflags >>= 1
- else:
+ elif timer.state < TimerEntry.StateEnded:
self.nrep_eventlist.extend([(timer.begin,self.bflag,idx),(timer.end,self.eflag,idx)])
idx += 1