From cd019e4b226fc51bfb11d113072dda3ba6013b13 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 28 Jul 2008 09:38:01 +0000 Subject: [PATCH] fix crash on opening satfinder / motor plugin --- lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py | 4 ++-- lib/python/Plugins/SystemPlugins/Satfinder/plugin.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py index 4ade7fe0..a4008c2d 100644 --- a/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py +++ b/lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py @@ -535,7 +535,7 @@ class TunerScreen(ScanSetup): def keyCancel(self): self.close(None) -class NimSelection(Screen): +class RotorNimSelection(Screen): skin = """ @@ -577,7 +577,7 @@ def PositionerMain(session, **kwargs): if len(usableNims) == 1: session.open(PositionerSetup, usableNims[0]) elif len(usableNims) > 1: - session.open(NimSelection) + session.open(RotorNimSelection) else: session.open(MessageBox, _("No tuner is configured for use with a diseqc positioner!"), MessageBox.TYPE_ERROR) diff --git a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py index 26d76200..74568855 100644 --- a/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py +++ b/lib/python/Plugins/SystemPlugins/Satfinder/plugin.py @@ -254,7 +254,7 @@ class Satfinder(ScanSetup): if transponder is not None: self.tuner.tune(transponder) -class NimSelection(Screen): +class SatNimSelection(Screen): skin = """ @@ -291,7 +291,7 @@ def SatfinderMain(session, **kwargs): if len(nimList) == 1: session.open(Satfinder, nimList[0]) else: - session.open(NimSelection) + session.open(SatNimSelection) def SatfinderStart(menuid, **kwargs): if menuid == "scan": -- 2.30.2