fix timer skip
authorFelix Domke <tmbinc@elitedvb.net>
Sun, 29 Jan 2006 20:24:52 +0000 (20:24 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Sun, 29 Jan 2006 20:24:52 +0000 (20:24 +0000)
timer.py

index c03eb1e..432c53a 100644 (file)
--- a/timer.py
+++ b/timer.py
@@ -173,8 +173,7 @@ class Timer:
                # when activating a timer which has already passed,
                # simply abort the timer. don't run trough all the stages.
                if w.shouldSkip():
-                       w.abort()
-                       bisect.insort(self.processed_timers, w)
+                       w.state = TimerEntry.StateEnded
                else:
                        # when active returns true, this means "accepted".
                        # otherwise, the current state is kept.