avswitch: reset video mode only when it has changed
[enigma2.git] / timer.py
index c03eb1e78d3fae37087230733ff138cf03377f51..432c53aca0424fdc1092c6c5e8c79d1d783a9555 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.