add tunersetup to the startwizard (just a proof of concept as of now)
[vuplus_dvbapp] / lib / python / Screens / Satconfig.py
index 2106394..e6033eb 100644 (file)
@@ -98,9 +98,13 @@ class NimSetup(Screen):
                        x[1].cancel()
                self.close()
 
-       def __init__(self, session, nim):
+       def __init__(self, session, nim = None):
                Screen.__init__(self, session)
-               self.nim = nim
+               
+               if nim == None:
+                       self.nim = nimmanager.nimList()[0][1]
+               else:
+                       self.nim = nim
                
                self["actions"] = NumberActionMap(["SetupActions"],
                {