X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;f=timer.py;h=d58a83ef8ef68db5255e1e8a054dbaf258964340;hb=c2d47e1edd426ec95571e6b9271b099687c5e140;hp=64df9c8854780ffb4b19732d5425d62667afc67e;hpb=574f425cc1ebece0aa5f09fb77a8cb7ad0310a1f;p=vuplus_dvbapp 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():