aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/EventInfo.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-09-26 17:25:45 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-09-26 17:25:45 +0000
commit76e87479554f771723ea4005788f9318cd1654f4 (patch)
treebc4e083852791cd9fd03d959ae001eca0042fbd9 /lib/python/Components/EventInfo.py
parent0722bdffe9e089cf67bba0887aff68391fd4ca72 (diff)
downloadenigma2-76e87479554f771723ea4005788f9318cd1654f4.tar.gz
enigma2-76e87479554f771723ea4005788f9318cd1654f4.zip
- simplified getInterface-styled calls: now using return value instead of mutable argument
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: