TimerEdit.py: fix typo ... this fixes a crash on timer listing with "show finished...
authorghost <andreas.monzner@multimedia-labs.de>
Mon, 21 Mar 2011 17:14:28 +0000 (18:14 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Mon, 21 Mar 2011 17:14:42 +0000 (18:14 +0100)
lib/python/Screens/TimerEdit.py

index e9a73ac1eb479f412aeca3ff1ac4a1d87d20c043..d540b6de89dda8a1b3db0f2bc31ce3afb350edb9 100644 (file)
@@ -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[:]