From aa08b13bdb747f08cb3be5d7549f275eca7a0114 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Thu, 25 Oct 2007 16:35:50 +0000 Subject: [PATCH] small fix --- lib/python/Components/EpgList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.30.2