git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add a small ipkg upgrade plugin
[enigma2.git]
/
lib
/
python
/
Components
/
NimManager.py
diff --git
a/lib/python/Components/NimManager.py
b/lib/python/Components/NimManager.py
index 3bc47ec366d380c01f6aba0d0a04ba99db1f49e2..0452adbe7adccbe3c2c02ab9f039dcebc7f31124 100644
(file)
--- a/
lib/python/Components/NimManager.py
+++ b/
lib/python/Components/NimManager.py
@@
-129,9
+129,7
@@
class NimManager:
#print "found sat " + attrs.get('name',"") + " " + str(attrs.get('position',""))
tpos = int(attrs.get('position',""))
if tpos < 0:
#print "found sat " + attrs.get('name',"") + " " + str(attrs.get('position',""))
tpos = int(attrs.get('position',""))
if tpos < 0:
- print "negative"
tpos = 3600 + tpos
tpos = 3600 + tpos
- print "[NimManager.py] tpos:", tpos
tname = attrs.get('name',"")
self.satellites[tpos] = tname
self.satList.append( (tname, tpos) )
tname = attrs.get('name',"")
self.satellites[tpos] = tname
self.satList.append( (tname, tpos) )
@@
-210,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 = { }