X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FScreens%2FTimerEdit.py;h=bf60496fbe5399652e89ecc1b03c01521c9b81b5;hp=54354987003c47fbc59626ba30c88467b2f5029d;hb=82bf6dd2d5cd1634a1c85bb5a8b1248e1822d89f;hpb=111874bbd87063dc52d061bde1d74694c5c5e092 diff --git a/lib/python/Screens/TimerEdit.py b/lib/python/Screens/TimerEdit.py index 5435498..bf60496 100644 --- a/lib/python/Screens/TimerEdit.py +++ b/lib/python/Screens/TimerEdit.py @@ -176,7 +176,7 @@ class TimerEditList(Screen): del list[:] list.extend([(timer, False) for timer in self.session.nav.RecordTimer.timer_list]) list.extend([(timer, True) for timer in self.session.nav.RecordTimer.processed_timers]) - list.sort(cmp = lambda x, y: x[0].begin < y[0].begin) + list.sort(key = lambda x: x[0].begin) def showLog(self): cur=self["timerlist"].getCurrent()