From: Andreas Monzner Date: Tue, 16 Oct 2007 19:00:01 +0000 (+0000) Subject: fix bluescreen when opening motor setup and more than one nim is configured X-Git-Tag: 2.6.0~1814 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/21a95b7486fcf312b41619066dc30d521dc5ebec fix bluescreen when opening motor setup and more than one nim is configured for motor use --- 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)