fixes bug #436
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 4 Feb 2010 23:32:41 +0000 (00:32 +0100)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Sat, 20 Feb 2010 16:14:43 +0000 (17:14 +0100)
remove some debug code
fix multiType entry for non multiType nims

lib/python/Screens/Satconfig.py

index 0d10a2c..047bde2 100644 (file)
@@ -76,6 +76,7 @@ class NimSetup(Screen, ConfigListScreen, ServiceStopScreen):
                print "Creating setup"
                self.list = [ ]
 
                print "Creating setup"
                self.list = [ ]
 
+               self.multiType = None
                self.configMode = None
                self.diseqcModeEntry = None
                self.advancedSatsEntry = None
                self.configMode = None
                self.diseqcModeEntry = None
                self.advancedSatsEntry = None
@@ -207,9 +208,7 @@ class NimSetup(Screen, ConfigListScreen, ServiceStopScreen):
                        self.advancedType, self.advancedSCR, self.advancedManufacturer, self.advancedUnicable, \
                        self.uncommittedDiseqcCommand, self.cableScanType, self.multiType)
                if self["config"].getCurrent() == self.multiType:
                        self.advancedType, self.advancedSCR, self.advancedManufacturer, self.advancedUnicable, \
                        self.uncommittedDiseqcCommand, self.cableScanType, self.multiType)
                if self["config"].getCurrent() == self.multiType:
-                       print "enumerating:"
                        nimmanager.enumerateNIMs()
                        nimmanager.enumerateNIMs()
-                       print "mode value:", self.multiType[1].value
                        from Components.NimManager import InitNimManager
                        InitNimManager(nimmanager)
                        self.nim = nimmanager.nim_slots[self.slotid]
                        from Components.NimManager import InitNimManager
                        InitNimManager(nimmanager)
                        self.nim = nimmanager.nim_slots[self.slotid]