aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-08-18 20:12:51 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-08-18 20:12:51 +0000
commit6695541c26a0c963c9abfc404031fc69effdba37 (patch)
tree1923b6de2f97163973520503d64eb4581d1a419c /lib/python/Components
parentd034cf9d1f99bc0086506922cba9fb117868b4a4 (diff)
downloadenigma2-6695541c26a0c963c9abfc404031fc69effdba37.tar.gz
enigma2-6695541c26a0c963c9abfc404031fc69effdba37.zip
small fix
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/NimManager.py14
1 files changed, 3 insertions, 11 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index b0c2cf35..3f82089a 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -276,8 +276,9 @@ class SecConfigure:
elif dm == "1_2":
sec.setDiSEqCMode(diseqcParam.V1_2)
- if self.satposdepends.has_key(slotid): # only useable with rotors
- tunermask |= (1 << self.satposdepends[slotid])
+ if self.satposdepends.has_key(slotid):
+ for slot in self.satposdepends[slotid]:
+ tunermask |= (1 << slot)
if dm != "none":
if currLnb.toneburst.value == "none":
@@ -847,15 +848,6 @@ def InitNimManager(nimmgr):
choices["loopthrough"] = _("loopthrough to")
nim.configMode = ConfigSelection(choices = choices, default = "nothing")
- #important - check if just the 2nd one is LT only and the first one is DVB-S
- # CHECKME: is this logic correct for >2 slots?
-# if nim.configMode.value in ["loopthrough", "satposdepends", "equal"]:
-# if x == 0: # first one can never be linked to anything
-# # reset to simple
-# nim.configMode.value = "simple"
-# nim.configMode.save()
-# else:
- #FIXME: make it better
for y in nimmgr.nim_slots:
if y.slot == 0:
if not y.isCompatible("DVB-S"):