aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/EventInfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/EventInfo.py')
-rw-r--r--lib/python/Components/EventInfo.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/EventInfo.py b/lib/python/Components/EventInfo.py
index 656fd279..ac7ed9b5 100644
--- a/lib/python/Components/EventInfo.py
+++ b/lib/python/Components/EventInfo.py
@@ -23,7 +23,8 @@ class EventInfo(PerServiceDisplay):
service = self.navcore.getCurrentService()
if service != None:
- if not service.info(info):
+ info = service.info()
+ if info is not None:
ev = eServiceEventPtr()
if info.getEvent(ev, self.now_or_next & 1) == 0:
if self.now_or_next & 2: