NIM cleanup, as described in https://lists.elitedvb.net/pipermail/enigma2-devel/2007...
[enigma2.git] / lib / python / Screens / About.py
index 8270210a9273100583d752ea35d33883437f078a..6658bb1a4bee43fc0a0874253e23ca2df211105e 100644 (file)
@@ -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("")