aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-14 18:24:54 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2006-05-14 18:24:54 +0000
commit4438bf2708045c28b32839ae840866d861bace03 (patch)
treec5fb7d4c1c8be6f3d1b0a5419965a2082094a7c3 /lib/python
parent714bdc079f5fdaebc2393ae98fc158a016b43e88 (diff)
downloadenigma2-4438bf2708045c28b32839ae840866d861bace03.tar.gz
enigma2-4438bf2708045c28b32839ae840866d861bace03.zip
add list not empty check
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()