aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index d08a050b..c3c6e21a 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -448,7 +448,8 @@ class InfoBarEPG:
if self.is_now_next and len(self.dlg_stack) == 1:
self.getNowNext()
assert self.eventView
- self.eventView.setEvent(self.epglist[0])
+ if len(self.epglist):
+ self.eventView.setEvent(self.epglist[0])
def openEventView(self):
ref = self.session.nav.getCurrentlyPlayingServiceReference()