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 0d10a2c05b172e4b785bbd51eb0dfbacf33f7186..047bde2321965fda1ef56ad410529753141d5ee4 100644 (file)
@@ -76,6 +76,7 @@ class NimSetup(Screen, ConfigListScreen, ServiceStopScreen):
                print "Creating setup"
                self.list = [ ]
 
+               self.multiType = 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:
-                       print "enumerating:"
                        nimmanager.enumerateNIMs()
-                       print "mode value:", self.multiType[1].value
                        from Components.NimManager import InitNimManager
                        InitNimManager(nimmanager)
                        self.nim = nimmanager.nim_slots[self.slotid]