aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-20 22:13:25 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-10-20 22:13:25 +0000
commit31e25fad17dc49768debc9b2d83c19886fa40188 (patch)
tree23ff8e6652398ecd22e0899af2a33dd8252cdef4 /lib/python
parentb227fb3853c96c073116b784c93c653cafda99f7 (diff)
downloadenigma2-31e25fad17dc49768debc9b2d83c19886fa40188.tar.gz
enigma2-31e25fad17dc49768debc9b2d83c19886fa40188.zip
fix typo? ! ?
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/TimerSanityCheck.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/python/Components/TimerSanityCheck.py b/lib/python/Components/TimerSanityCheck.py
index 6e94df29..54c8f44c 100644
--- a/lib/python/Components/TimerSanityCheck.py
+++ b/lib/python/Components/TimerSanityCheck.py
@@ -187,8 +187,9 @@ class TimerSanityCheck:
NavigationInstance.instance.stopRecordService(fakeRec[1])
fakeRecList.remove(fakeRec)
del fakeRec
- if overlaplist.count(timer):
- overlaplist.remove(timer)
+ for entry in overlaplist:
+ if entry[1] == timer:
+ overlaplist.remove(entry)
else:
print "Bug: unknown flag!"
self.nrep_eventlist[idx] = (event[0],event[1],event[2],cnt,overlaplist[:]) # insert a duplicate into current overlaplist