Support turbo2.
[vuplus_dvbapp] / lib / python / Screens / TimerEdit.py
index 8f742b8..0abb42a 100644 (file)
@@ -179,7 +179,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[:]