fix without any effect
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 19 Dec 2005 00:40:18 +0000 (00:40 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Mon, 19 Dec 2005 00:40:18 +0000 (00:40 +0000)
lib/python/Components/NimManager.py

index 933ebcf76b898ae34072528f5c77de44251a02a8..c8b4adbe61d0f3c3544e48b806be2834ce111f10 100644 (file)
@@ -128,6 +128,8 @@ class NimManager:
                        if (name == "sat"):
                                #print "found sat " + attrs.get('name',"") + " " + str(attrs.get('position',""))
                                tpos = attrs.get('position',"")
+                               if tpos < 0:
+                                       tpos = 3600 + tpos
                                tname = attrs.get('name',"")
                                self.satellites[tpos] = tname
                                self.satList.append( (tname, tpos) )