From: Andreas Monzner Date: Thu, 25 Oct 2007 16:35:50 +0000 (+0000) Subject: small fix X-Git-Tag: 2.6.0~1796 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/aa08b13bdb747f08cb3be5d7549f275eca7a0114?ds=sidebyside small fix --- diff --git a/lib/python/Components/EpgList.py b/lib/python/Components/EpgList.py index 52fd9190..0c4290d6 100644 --- a/lib/python/Components/EpgList.py +++ b/lib/python/Components/EpgList.py @@ -232,7 +232,7 @@ class EPGList(HTMLComponent, GUIComponent): if len(self.list): if type == 1: event_id = self.getSelectedEventId() - self.list.sort(key=lambda x: (x[4].lower(), x[2])) + self.list.sort(key=lambda x: (x[4] and x[4].lower(), x[2])) self.l.setList(self.list) self.moveToEventId(event_id) else: