fix fillSimilarList
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 30 Jul 2007 22:14:29 +0000 (22:14 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 30 Jul 2007 22:14:29 +0000 (22:14 +0000)
lib/python/Components/EpgList.py

index 1bc98ef615fa7d79ee03a8acfc4271040ecba183..ee00ce9f7e7de5ba06ac1640b69e562d6537610a 100644 (file)
@@ -247,7 +247,7 @@ class EPGList(HTMLComponent, GUIComponent):
                        return
                l = self.epgcache.search(('RIBND', 1024, eEPGCache.SIMILAR_BROADCASTINGS_SEARCH, refstr, event_id))
                if l and len(l):
-                       l.sort(self.sort_func)
+                       l.sort(key=lambda x: x[2])
                self.l.setList(l)
                self.selectionChanged()
                print time() - t