diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2009-11-06 16:23:29 +0100 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2009-11-06 16:23:29 +0100 |
| commit | d66c36f6534f32c7362c45965051cf84ccf84ba9 (patch) | |
| tree | 275fc647bcde87cf227400e28e9d1287ca347cec /lib/python/Screens/ScanSetup.py | |
| parent | 65ae5578663b82ddf54926047682ec1b6afdf4b6 (diff) | |
| download | enigma2-d66c36f6534f32c7362c45965051cf84ccf84ba9.tar.gz enigma2-d66c36f6534f32c7362c45965051cf84ccf84ba9.zip | |
fixes bug #258
removed some wrong ConfigSatList handling
Diffstat (limited to 'lib/python/Screens/ScanSetup.py')
| -rw-r--r-- | lib/python/Screens/ScanSetup.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py index d0af8f7e..aed90268 100644 --- a/lib/python/Screens/ScanSetup.py +++ b/lib/python/Screens/ScanSetup.py @@ -729,11 +729,10 @@ class ScanSetup(ConfigListScreen, Screen, CableTransponderSearchSupport): assert len(self.scan_satselection) > index_to_scan nimsats = self.satList[index_to_scan] - selsatidx = self.scan_satselection[index_to_scan].index + orbpos = self.scan_satselection[index_to_scan].getOrbitalPosition() # however, the satList itself could be empty. in that case, "index" is 0 (for "None"). if len(nimsats): - orbpos = nimsats[selsatidx][0] if self.scan_sat.system.value == eDVBFrontendParametersSatellite.System_DVB_S: fec = self.scan_sat.fec.value else: @@ -751,7 +750,7 @@ class ScanSetup(ConfigListScreen, Screen, CableTransponderSearchSupport): self.scan_sat.pilot.value) removeAll = False elif self.scan_type.value == "single_satellite": - sat = self.satList[index_to_scan][self.scan_satselection[index_to_scan].index] + sat = self.scan_satselection[index_to_scan].getSat() getInitialTransponderList(tlist, sat[0]) elif self.scan_type.value.find("multisat") != -1: SatList = nimmanager.getSatListForNim(index_to_scan) |
