X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=timer.py;h=d58a83ef8ef68db5255e1e8a054dbaf258964340;hp=64df9c8854780ffb4b19732d5425d62667afc67e;hb=0fee8bdaa26f854460b63475c91f1f2cf762594b;hpb=bce53d4a67d1655a496eebe5912c8573e880114e diff --git a/timer.py b/timer.py index 64df9c8..d58a83e 100644 --- a/timer.py +++ b/timer.py @@ -232,6 +232,10 @@ class Timer: self.setNextActivation(min) def timeChanged(self, timer): + if timer not in (self.processed_timers + self.timer_list): + print "timer not found" + return + print "time changed" timer.timeChanged() if timer.state == TimerEntry.StateEnded: @@ -246,7 +250,7 @@ class Timer: def doActivate(self, w): self.timer_list.remove(w) - + # when activating a timer which has already passed, # simply abort the timer. don't run trough all the stages. if w.shouldSkip():