don't show frontend data when no frontend data is available (remove exception)
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 22 Mar 2006 21:15:43 +0000 (21:15 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 22 Mar 2006 21:15:43 +0000 (21:15 +0000)
lib/python/Screens/ServiceInfo.py

index 5c23b025f2b372f08e799cefedd405f606143ff8..faa006bd6b857f4b0b9361aac17201b99d5c1ea5 100644 (file)
@@ -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),