aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/TimerList.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-01-15 12:11:14 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-01-15 12:11:14 +0000
commit97a9b81eac4b871c65ff24097565194e0b024ee3 (patch)
tree590a254ae2c5a865b6cc17efa268fce9bc1c16f1 /lib/python/Components/TimerList.py
parent8a6e44c53a3fb23ca87645fdfad73652a202b905 (diff)
downloadenigma2-97a9b81eac4b871c65ff24097565194e0b024ee3.tar.gz
enigma2-97a9b81eac4b871c65ff24097565194e0b024ee3.zip
follow timer changes
Diffstat (limited to 'lib/python/Components/TimerList.py')
-rw-r--r--lib/python/Components/TimerList.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Components/TimerList.py b/lib/python/Components/TimerList.py
index 47c49d3f..d79187d1 100644
--- a/lib/python/Components/TimerList.py
+++ b/lib/python/Components/TimerList.py
@@ -31,7 +31,7 @@ def TimerEntryComponent(timer, processed):
repeatedtext = ""
days = [ "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun" ]
- if (timer.repeated != 0):
+ if not timer.repeated:
flags = timer.repeated
count = 0
for x in range(0, 7):
@@ -46,9 +46,9 @@ def TimerEntryComponent(timer, processed):
res.append((eListboxPythonMultiContent.TYPE_TEXT, 0, 50, 300, 20, 1, RT_HALIGN_LEFT|RT_VALIGN_CENTER, repeatedtext + ("%s, %s ... %s" % (FuzzyTime(timer.begin) + FuzzyTime(timer.end)[1:]))))
if not processed:
- if timer.state == TimerEntry.StateWait:
+ if timer.state == TimerEntry.StateWaiting:
state = "waiting"
- elif timer.state == TimerEntry.StatePrepare:
+ elif timer.state == TimerEntry.StatePrepared:
state = "about to start"
elif timer.state == TimerEntry.StateRunning:
state = "recording..."