Ci.py: fix crash since yesterday change without new drivers
authorghost <andreas.monzner@multimedia-labs.de>
Mon, 16 Mar 2009 14:56:06 +0000 (15:56 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Mon, 16 Mar 2009 14:56:06 +0000 (15:56 +0100)
lib/python/Screens/Ci.py

index 19f4d921dc16358c8256bd9c04bbe91a6ed9a72c..0fb0feeb19a366d9a01dbe5830ef84bee2e06f7b 100644 (file)
@@ -331,7 +331,8 @@ class CiSelection(Screen):
                        self.list.append( (appname, ConfigNothing(), 2, slot) )
 
                self.list.append(getConfigListEntry(_("Multiple service support"), config.ci[slot].canDescrambleMultipleServices))
                        self.list.append( (appname, ConfigNothing(), 2, slot) )
 
                self.list.append(getConfigListEntry(_("Multiple service support"), config.ci[slot].canDescrambleMultipleServices))
-               self.list.append(getConfigListEntry(_("High bitrate support"), config.ci[slot].canHandleHighBitrates))
+               if SystemInfo["CommonInterfaceSupportsHighBitrates"]:
+                       self.list.append(getConfigListEntry(_("High bitrate support"), config.ci[slot].canHandleHighBitrates))
 
        def updateState(self, slot):
                state = eDVBCI_UI.getInstance().getState(slot)
 
        def updateState(self, slot):
                state = eDVBCI_UI.getInstance().getState(slot)