From 1a9e2e35bab6de58c8ec6981f47b4713a6925ead Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Thu, 26 Jun 2008 11:26:06 +0000 Subject: [PATCH] handle 'equal' option in tuner config correctly for -s2 tuners --- lib/python/Screens/Satconfig.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py index b1757807..e5f73160 100644 --- a/lib/python/Screens/Satconfig.py +++ b/lib/python/Screens/Satconfig.py @@ -79,7 +79,10 @@ class NimSetup(Screen, ConfigListScreen): self.createPositionerSetup(self.list) elif self.nimConfig.configMode.value in ["satposdepends", "equal"]: choices = [] - nimlist = nimmanager.getNimListOfType(self.nim.type, exception = self.nim.slot) + if self.nim.type == "DVB-S2": + nimlist = nimmanager.getNimListOfType("DVB-S", exception = self.nim.slot) + else: + nimlist = nimmanager.getNimListOfType(self.nim.type, exception = self.nim.slot) for id in nimlist: #choices.append((str(id), str(chr(65 + id)))) choices.append((str(id), nimmanager.getNimDescription(id))) -- 2.30.2