aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/ServiceInfo.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-03-22 21:15:43 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-03-22 21:15:43 +0000
commit6a93f449730ffbeed819786a4dcd0bd5803511b7 (patch)
tree70fed7fa83b50fdc07ab3b624e888d2078a52173 /lib/python/Screens/ServiceInfo.py
parent3e14b0b12f6ffed09d20f5e4d9ddb995728ff9f5 (diff)
downloadenigma2-6a93f449730ffbeed819786a4dcd0bd5803511b7.tar.gz
enigma2-6a93f449730ffbeed819786a4dcd0bd5803511b7.zip
don't show frontend data when no frontend data is available (remove exception)
Diffstat (limited to 'lib/python/Screens/ServiceInfo.py')
-rw-r--r--lib/python/Screens/ServiceInfo.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Screens/ServiceInfo.py b/lib/python/Screens/ServiceInfo.py
index 5c23b025..faa006bd 100644
--- a/lib/python/Screens/ServiceInfo.py
+++ b/lib/python/Screens/ServiceInfo.py
@@ -119,6 +119,8 @@ class ServiceInfo(Screen):
self.fillList(Labels)
def getFEData(self, frontendData):
+ if frontendData is None:
+ return []
if frontendData["tuner_type"] == "DVB-S":
return ( ("NIM", ['A', 'B', 'C', 'D'][frontendData["tuner_number"]], TYPE_TEXT),
("Type", frontendData["tuner_type"], TYPE_TEXT),