fix bluescreen when opening motor setup and more than one nim is configured
[enigma2.git] / lib / python / Plugins / SystemPlugins / PositionerSetup / plugin.py
index fccd2625b6d024ceb922d3e3f66c2fb90679878a..e394db4bd2c5294147e6934f3561c55179c36350 100644 (file)
@@ -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)