satposdepends is a list
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Jul 2008 19:57:34 +0000 (19:57 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 24 Jul 2008 19:57:34 +0000 (19:57 +0000)
lib/python/Components/NimManager.py

index 72303af7d6e1ab26681eed41cc0a23abb4e55d03..5e66b6a64b5a0d57e8f410f2ecd6cd5fdfd6f2eb 100644 (file)
@@ -71,7 +71,8 @@ class SecConfigure:
                        self.addSatellite(sec, orbpos)
                elif (diseqcmode == 3): # diseqc 1.2
                        if self.satposdepends.has_key(slotid):
                        self.addSatellite(sec, orbpos)
                elif (diseqcmode == 3): # diseqc 1.2
                        if self.satposdepends.has_key(slotid):
-                               tunermask |= (1 << self.satposdepends[slotid])
+                               for slot in self.satposdepends[slotid]:
+                                       tunermask |= (1 << slot)
                        sec.setLatitude(latitude)
                        sec.setLaDirection(laDirection)
                        sec.setLongitude(longitude)
                        sec.setLatitude(latitude)
                        sec.setLaDirection(laDirection)
                        sec.setLongitude(longitude)