From 961239a024248ee557f1d4fe6797c7f27e2ecf6b Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 18 May 2007 01:49:59 +0000 Subject: NIM cleanup, as described in https://lists.elitedvb.net/pipermail/enigma2-devel/2007-May/000016.html --- lib/python/Screens/About.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/python/Screens/About.py') 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("") -- cgit v1.2.3