aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/About.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-05-18 01:49:59 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-05-18 01:49:59 +0000
commit961239a024248ee557f1d4fe6797c7f27e2ecf6b (patch)
treed1fb93322fbeb6400a2aeaf9c7d8ebc266a045c9 /lib/python/Screens/About.py
parent908e4245fee8098bd3dcc6bcd49b8971ecdd22ac (diff)
downloadenigma2-961239a024248ee557f1d4fe6797c7f27e2ecf6b.tar.gz
enigma2-961239a024248ee557f1d4fe6797c7f27e2ecf6b.zip
NIM cleanup, as described in https://lists.elitedvb.net/pipermail/enigma2-devel/2007-May/000016.html
Diffstat (limited to 'lib/python/Screens/About.py')
-rw-r--r--lib/python/Screens/About.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/python/Screens/About.py b/lib/python/Screens/About.py
index 8270210a..6658bb1a 100644
--- a/lib/python/Screens/About.py
+++ b/lib/python/Screens/About.py
@@ -25,10 +25,9 @@ class About(Screen):
self["fpVersion"] = Label(fp_version)
nims = nimmanager.nimList()
- for count in range(2):
- print "count:", nimmanager.nimCount
- if count < nimmanager.nimCount:
- self["tuner" + str(count)] = Label(nims[count][0])
+ for count in range(4):
+ if count < len(nims):
+ self["tuner" + str(count)] = Label(nims[count])
else:
self["tuner" + str(count)] = Label("")