From 0a860f49e476ccb2d921f6292cd528e490072718 Mon Sep 17 00:00:00 2001 From: ghost Date: Mon, 21 Mar 2011 18:14:28 +0100 Subject: [PATCH] TimerEdit.py: fix typo ... this fixes a crash on timer listing with "show finished timers at end of list" --- lib/python/Screens/TimerEdit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index e9a73ac1..d540b6de 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -177,7 +177,7 @@ class TimerEditList(Screen): def eol_compare(x, y): if x[0].state != y[0].state and x[0].state == RealTimerEntry.StateEnded or y[0].state == RealTimerEntry.StateEnded: return cmp(x[0].state, y[0].state) - return cmp(x[0].begin, x[1].begin) + return cmp(x[0].begin, y[0].begin) list = self.list del list[:] -- 2.30.2