From: Andreas Monzner Date: Mon, 20 Oct 2008 22:13:25 +0000 (+0000) Subject: fix typo? ! ? X-Git-Tag: 2.6.0~732 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/31e25fad17dc49768debc9b2d83c19886fa40188 fix typo? ! ? --- 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