fix the KeyError from the previous commit
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 19 Dec 2005 01:56:41 +0000 (01:56 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 19 Dec 2005 01:56:41 +0000 (01:56 +0000)
lib/python/Components/NimManager.py

index 183f9d2..0452adb 100644 (file)
@@ -208,7 +208,7 @@ class NimManager:
                return self.sec.getSatList()
 
        def getSatDescription(self, pos):
                return self.sec.getSatList()
 
        def getSatDescription(self, pos):
-               return self.satellites[str(pos)]
+               return self.satellites[pos]
 
        def readSatsfromFile(self):
                self.satellites = { }
 
        def readSatsfromFile(self):
                self.satellites = { }