aboutsummaryrefslogtreecommitdiff
path: root/timer.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-25 06:26:19 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-25 06:26:19 +0000
commitdc093daa0b0c4b12e33c30fb1b0b48c18ab8f8b5 (patch)
tree814f157b060b5489d55b36cc14d90d269490b245 /timer.py
parente330dbae62e83dd2aa2ff63a984519a84b23c3ad (diff)
downloadenigma2-dc093daa0b0c4b12e33c30fb1b0b48c18ab8f8b5.tar.gz
enigma2-dc093daa0b0c4b12e33c30fb1b0b48c18ab8f8b5.zip
introduce BlinkingPointConditional, which blinks, if a condition-function returns True
Diffstat (limited to 'timer.py')
-rw-r--r--timer.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/timer.py b/timer.py
index 6f33b54d..42bafe35 100644
--- a/timer.py
+++ b/timer.py
@@ -27,6 +27,9 @@ class TimerEntry:
self.repeated |= (2 ** day)
print "Repeated: " + str(self.repeated)
+ def isRunning(self):
+ return self.state == self.StateRunning
+
# update self.begin and self.end according to the self.repeated-flags
def processRepeated(self):
print "ProcessRepeated"