git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add ability to enable wrap around in listbox
[enigma2.git]
/
timer.py
diff --git
a/timer.py
b/timer.py
index 48ba7696c834d8866b369ed2770a5456edc408f7..432c53aca0424fdc1092c6c5e8c79d1d783a9555 100644
(file)
--- a/
timer.py
+++ b/
timer.py
@@
-114,7
+114,7
@@
class Timer:
f(entry)
def cleanup(self):
f(entry)
def cleanup(self):
- self.processed_timers = []
+ self.processed_timers = [
entry for entry in self.processed_timers if entry.disabled
]
def addTimerEntry(self, entry, noRecalc=0):
entry.processRepeated()
def addTimerEntry(self, entry, noRecalc=0):
entry.processRepeated()
@@
-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():
# 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.
else:
# when active returns true, this means "accepted".
# otherwise, the current state is kept.