diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-21 18:30:23 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-11-21 18:30:23 +0000 |
| commit | 7bc2f4300174ef8feb7f329f2b9a4e61ce422f74 (patch) | |
| tree | 28ee7117685251c59ad73c33339fe1a6eb70ac76 /lib/python/Screens/ScanSetup.py | |
| parent | fe1ef885de1c0dc41100df0453ecf1c2ed5cf7e8 (diff) | |
| download | enigma2-7bc2f4300174ef8feb7f329f2b9a4e61ce422f74.tar.gz enigma2-7bc2f4300174ef8feb7f329f2b9a4e61ce422f74.zip | |
don't die when entering ScanSetup
Diffstat (limited to 'lib/python/Screens/ScanSetup.py')
| -rw-r--r-- | lib/python/Screens/ScanSetup.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py index b620712b..30d5bd8a 100644 --- a/lib/python/Screens/ScanSetup.py +++ b/lib/python/Screens/ScanSetup.py @@ -61,7 +61,8 @@ class ScanSetup(Screen): def updateSatList(self): self.satList = [] for slot in nimmanager.nimslots: - self.satList.append(nimmanager.getSatListForNim(slot.slotid)) + if (nimmanager.getNimType(slot.slotid) == nimmanager.nimType["DVB-S"]): + self.satList.append(nimmanager.getSatListForNim(slot.slotid)) def createSetup(self): self.list = [] @@ -182,7 +183,8 @@ class ScanSetup(Screen): config.scan.satselection = [] slotid = 0 for slot in nimmanager.nimslots: - config.scan.satselection.append(configElement_nonSave("config.scan.satselection[" + str(slot.slotid) + "]", configSatlist, 0, self.satList[slot.slotid])) + if (nimmanager.getNimType(slot.slotid) == nimmanager.nimType["DVB-S"]): + config.scan.satselection.append(configElement_nonSave("config.scan.satselection[" + str(slot.slotid) + "]", configSatlist, 0, self.satList[slot.slotid])) def keyLeft(self): self["config"].handleKey(config.key["prevElement"]) |
