From: ghost Date: Tue, 8 Jun 2010 17:49:22 +0000 (+0200) Subject: NimManager.py: add missing conversion to int X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=8c18cd1cb867cd915d8cd3830dcb32b32db4fce3 NimManager.py: add missing conversion to int --- diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index de82016..baa3b65 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})