From: Andreas Monzner Date: Sun, 21 Jan 2007 00:14:48 +0000 (+0000) Subject: fix non working code X-Git-Tag: 2.6.0~2427 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/c2ba4a7d374a9b20f7567478e8bafbad8f3884e1 fix non working code --- diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 4444d3b5..4a182322 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -197,7 +197,8 @@ class EPGList(HTMLComponent, GUIComponent): def fillMultiEPG(self, services, stime=-1): t = time() - test = [ '0RIBDTCn', (service.ref.toString(), 0, stime) for service in services ] + test = [ (service.ref.toString(), 0, stime) for service in services ] + test.insert(0, '0RIBDTCn') self.list = self.queryEPG(test) self.l.setList(self.list) print time() - t @@ -205,7 +206,8 @@ class EPGList(HTMLComponent, GUIComponent): def updateMultiEPG(self, direction): t = time() - test = [ 'RIBDTCn', x[3] and (x[1], x[4], x[3]) or (x[1], x[4], 0) for x in self.list ] + test = [ x[3] and (x[1], direction, x[3]) or (x[1], direction, 0) for x in self.list ] + test.insert(0, 'RIBDTCn') tmp = self.queryEPG(test) cnt=0 for x in tmp: