fix default orbital_position setting in manual scan
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 18 Dec 2006 01:06:34 +0000 (01:06 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 18 Dec 2006 01:06:34 +0000 (01:06 +0000)
lib/python/Screens/ScanSetup.py

index e20a5de..81985a8 100644 (file)
@@ -396,7 +396,7 @@ class ScanSetup(ConfigListScreen, Screen):
                        for slot in nimmanager.nimslots:
                                if (nimmanager.getNimType(slot.slotid) == nimmanager.nimType["DVB-S"]):
                                        print str(slot.slotid) + " : " + str(self.satList)
                        for slot in nimmanager.nimslots:
                                if (nimmanager.getNimType(slot.slotid) == nimmanager.nimType["DVB-S"]):
                                        print str(slot.slotid) + " : " + str(self.satList)
-                                       self.scan_satselection.append(getConfigSatlist(defaultSat["orbpos"],self.satList[slot.slotid]))
+                                       self.scan_satselection.append(getConfigSatlist(int(defaultSat["orbpos"]), self.satList[slot.slotid]))
                                else:
                                        self.scan_satselection.append(None)
 
                                else:
                                        self.scan_satselection.append(None)