aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2010-06-08 19:49:22 +0200
committerghost <andreas.monzner@multimedia-labs.de>2010-06-08 19:49:40 +0200
commit8c18cd1cb867cd915d8cd3830dcb32b32db4fce3 (patch)
tree9c6d78600cb1ec0831b325f40a84ff1d8667aa01 /lib/python
parent62f0db333dd61a779e0545142a4f6d2c7daad52e (diff)
downloadenigma2-8c18cd1cb867cd915d8cd3830dcb32b32db4fce3.tar.gz
enigma2-8c18cd1cb867cd915d8cd3830dcb32b32db4fce3.zip
NimManager.py: add missing conversion to int
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Components/NimManager.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index de820160..baa3b659 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -1040,10 +1040,10 @@ def InitNimManager(nimmgr):
else:
break;
lof=[]
- lof.append(product.get("positions","1"))
- lof.append(product.get("lofl","9750"))
- lof.append(product.get("lofh","10600"))
- lof.append(product.get("threshold","11700"))
+ lof.append(int(product.get("positions",1)))
+ lof.append(int(product.get("lofl",9750)))
+ lof.append(int(product.get("lofh",10600)))
+ lof.append(int(product.get("threshold",11700)))
scr.append(tuple(lof))
m.update({product.get("name"):tuple(scr)})
unicablelnbproducts.update({manufacturer.get("name"):m})
@@ -1062,10 +1062,10 @@ def InitNimManager(nimmgr):
else:
break;
lof=[]
- lof.append(product.get("positions","1"))
- lof.append(product.get("lofl","9750"))
- lof.append(product.get("lofh","10600"))
- lof.append(product.get("threshold","11700"))
+ lof.append(int(product.get("positions",1)))
+ lof.append(int(product.get("lofl",9750)))
+ lof.append(int(product.get("lofh",10600)))
+ lof.append(int(product.get("threshold",11700)))
scr.append(tuple(lof))
m.update({product.get("name"):tuple(scr)})
unicablematrixproducts.update({manufacturer.get("name"):m})