From: Stefan Pluecken Date: Fri, 3 Mar 2006 15:29:23 +0000 (+0000) Subject: fix isInTimer for non-repeated timers X-Git-Tag: 2.6.0~3918 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/7a1caa86f7dbcd3062b1cca23cb84a16dfef2b7d?ds=sidebyside fix isInTimer for non-repeated timers --- diff --git a/RecordTimer.py b/RecordTimer.py index faec5344..a2f21dfb 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -342,7 +342,7 @@ class RecordTimer(timer.Timer): time_match = ((timecmp + ((x.end - x.begin) / 60)) - chktimecmp) * 60 elif chktimecmp <= timecmp < (chktimecmp + (duration / 60)): time_match = ((chktimecmp + (duration / 60)) - timecmp) * 60 - elif x.eit is None: + else: #if x.eit is None: end = begin + duration if begin <= x.begin <= end: diff = end - x.begin