aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/NimManager.py
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-11-08 00:52:00 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-11-08 00:52:00 +0100
commitd3a03446578d5cf77ea3f2128aa3aeee434a23b8 (patch)
tree39a25fd7cf597dbde538715850c7e236ace30c79 /lib/python/Components/NimManager.py
parentcb725de8216cb61d0a889b3a6a7651619161ef08 (diff)
downloadenigma2-d3a03446578d5cf77ea3f2128aa3aeee434a23b8.tar.gz
enigma2-d3a03446578d5cf77ea3f2128aa3aeee434a23b8.zip
fix typos
Diffstat (limited to 'lib/python/Components/NimManager.py')
-rw-r--r--lib/python/Components/NimManager.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index 1ee8dddd..3c1fe455 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -659,7 +659,7 @@ class NimManager:
def canEqualTo(self, slotid):
type = self.getNimType(slotid)
- if self.getNimConfig(slotid) == "DVB-S2":
+ if type == "DVB-S2":
type = "DVB-S"
nimList = self.getNimListOfType(type, slotid)
for nim in nimList[:]:
@@ -667,10 +667,10 @@ class NimManager:
if mode.configMode.value == "loopthrough" or mode.configMode.value == "satposdepends":
nimList.remove(nim)
return nimList
-
+
def canDependOn(self, slotid):
type = self.getNimType(slotid)
- if self.getNimConfig(slotid) == "DVB-S2":
+ if type == "DVB-S2":
type = "DVB-S"
nimList = self.getNimListOfType(type, slotid)
positionerList = []