add tunersetup to the startwizard (just a proof of concept as of now)
[enigma2.git] / lib / python / Screens / Satconfig.py
index 21063942c5f5119f6b0a6a150eac40e50af373d3..e6033ebc15885a1b4f154bc9470205ff090b3c24 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"],
                {