aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/EpgList.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/EpgList.py')
-rw-r--r--lib/python/Components/EpgList.py2
1 files changed, 1 insertions, 1 deletions
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: