X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=blobdiff_plain;f=lib%2Fpython%2FComponents%2FNimManager.py;h=be28293fe4f9c6786ce797e159e76bbf1bc27e8b;hp=4b7ef8eab4d1df3ecbd7e6f271a133b96075180d;hb=2205f0ce601ffaf54c65a5e530d1562afdc4f572;hpb=ba528215fef66b50223260f79bc255339cc2448c;ds=sidebyside diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 4b7ef8e..be28293 100755 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -913,7 +913,7 @@ class NimManager: nim = config.Nims[slotid] configMode = nim.configMode.value - if self.nim_slots[slotid].isCompatible("DVB-S") or self.nim_slots[slotid].isCompatible("DVB-T") or self.nim_slots[slotid].isCompatible("DVB-C") or self.nim_slots[slotid].isCompatible("DVB-T2"): + if self.nim_slots[slotid].isCompatible("DVB-S") or self.nim_slots[slotid].isCompatible("DVB-T") or self.nim_slots[slotid].isCompatible("DVB-C"): return not (configMode == "nothing") def getSatListForNim(self, slotid): @@ -1514,20 +1514,6 @@ def InitNimManager(nimmgr): n += 1 nim.terrestrial = ConfigSelection(choices = list) nim.terrestrial_5V = ConfigOnOff() - elif slot.isCompatible("DVB-T2"): - nim.configMode = ConfigSelection( - choices = { - "enabled": _("enabled"), - "nothing": _("nothing connected"), - }, - default = "enabled") - list = [] - n = 0 - for x in nimmgr.terrestrialsList: - list.append((str(n), x[0])) - n += 1 - nim.terrestrial = ConfigSelection(choices = list) - nim.terrestrial_5V = ConfigOnOff() else: empty_slots += 1 nim.configMode = ConfigSelection(choices = { "nothing": _("disabled") }, default="nothing");