aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/SystemPlugins
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-10-16 19:00:01 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-10-16 19:00:01 +0000
commit21a95b7486fcf312b41619066dc30d521dc5ebec (patch)
tree41c8ae718ac69e3ef1de34c30124ce823247236a /lib/python/Plugins/SystemPlugins
parent039ed476ea328678b76a5c6eee1311198c7040af (diff)
downloadenigma2-21a95b7486fcf312b41619066dc30d521dc5ebec.tar.gz
enigma2-21a95b7486fcf312b41619066dc30d521dc5ebec.zip
fix bluescreen when opening motor setup and more than one nim is configured
for motor use
Diffstat (limited to 'lib/python/Plugins/SystemPlugins')
-rw-r--r--lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py
index fccd2625..e394db4b 100644
--- a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py
+++ b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py
@@ -529,11 +529,10 @@ class NimSelection(Screen):
def __init__(self, session):
Screen.__init__(self, session)
- nimlist = nimmanager.getNimListOfType(nimmanager.nimType["DVB-S"])
+ nimlist = nimmanager.getNimListOfType("DVB-S")
nimMenuList = []
for x in nimlist:
- n = nimmanager.nim_slots[x]
- nimMenuList.append((n.friendly_full_name, x))
+ nimMenuList.append((nimmanager.nim_slots[x].friendly_full_description, x))
self["nimlist"] = MenuList(nimMenuList)