aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-04-16 16:26:15 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-04-16 16:26:15 +0000
commitaeb9117180022110311b5ff0fcfefe35517d1a70 (patch)
tree93f9063a48741e38d36e9d01d6cd86a4b31a90ee /lib/python/Components
parent9249b786f95aa041d37549ee38341ebb83f28286 (diff)
downloadenigma2-aeb9117180022110311b5ff0fcfefe35517d1a70.tar.gz
enigma2-aeb9117180022110311b5ff0fcfefe35517d1a70.zip
dont crash when no or empty cables.xml is available
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/NimManager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index bfe8f36b..dcc85284 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -950,8 +950,8 @@ def InitNimManager(nimmgr):
possible_scan_types = [("bands", _("Frequency bands")), ("steps", _("Frequency steps"))]
if n:
possible_scan_types.append(("provider", _("Provider")))
+ nim.cable.scan_provider = ConfigSelection(default = "0", choices = list)
nim.cable.scan_type = ConfigSelection(default = "bands", choices = possible_scan_types)
- nim.cable.scan_provider = ConfigSelection(default = "0", choices = list)
nim.cable.scan_band_EU_VHF_I = ConfigYesNo(default = True)
nim.cable.scan_band_EU_MID = ConfigYesNo(default = True)
nim.cable.scan_band_EU_VHF_III = ConfigYesNo(default = True)