default to 'complete' scan on DVB-C until problems with invalid NITs are fixed -...
authorFelix Domke <tmbinc@elitedvb.net>
Mon, 27 Nov 2006 01:03:23 +0000 (01:03 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Mon, 27 Nov 2006 01:03:23 +0000 (01:03 +0000)
lib/python/Components/NimManager.py

index 18c09b6e63f249e90f3f172265eb053c274b2a3b..5140406d747b1ce60da80fac549ac1b3af65b0bb 100644 (file)
@@ -421,7 +421,7 @@ class NimManager:
                return self.cablesList[0]
        
        def getCableTrustNit(self, nim):
-               return (config.Nims[nim].cabletype.value == "quick")
+               return config.Nims[nim].cabletype.value == "quick"
 
        def getTerrestrialDescription(self, nim):
                return self.terrestrialsList[config.Nims[nim].terrestrial.index][0]
@@ -794,7 +794,7 @@ def InitNimManager(nimmgr):
                                nim.advanced.lnb[x].powerThreshold = ConfigInteger(default=50, limits=(0, 100))
 
                elif slot.nimType == nimmgr.nimType["DVB-C"]:
-                       nim.cabletype = ConfigSelection(choices = [("quick", _("Quick")), ("complete", _("Complete"))])
+                       nim.cabletype = ConfigSelection(choices = [("quick", _("Quick")), ("complete", _("Complete"))], default = "complete")
                elif slot.nimType == nimmgr.nimType["DVB-T"]:
                        list = []
                        n = 0