fix automatic scan
authorFelix Domke <tmbinc@elitedvb.net>
Wed, 16 Nov 2005 11:12:37 +0000 (11:12 +0000)
committerFelix Domke <tmbinc@elitedvb.net>
Wed, 16 Nov 2005 11:12:37 +0000 (11:12 +0000)
lib/python/Screens/ServiceScan.py

index c105953..17b7da7 100644 (file)
@@ -13,14 +13,14 @@ class ServiceScan(Screen):
        def cancel(self):
                self.close()
        
        def cancel(self):
                self.close()
        
-       def __init__(self, session, transponders):
+       def __init__(self, session, transponders, flags):
                Screen.__init__(self, session)
                
                self.session.nav.stopService()
                
                self["scan_progress"] = ProgressBar()
                self["scan_state"] = Label("scan state")
                Screen.__init__(self, session)
                
                self.session.nav.stopService()
                
                self["scan_progress"] = ProgressBar()
                self["scan_state"] = Label("scan state")
-               self["scan"] = CScan(self["scan_progress"], self["scan_state"], transponders)
+               self["scan"] = CScan(self["scan_progress"], self["scan_state"], transponders, flags)
 
                self["actions"] = ActionMap(["OkCancelActions"], 
                        {
 
                self["actions"] = ActionMap(["OkCancelActions"], 
                        {