remove obsolete HTMLComponent
[enigma2.git] / lib / python / Components / ServiceScan.py
index aeffaf2f8903fe48352dccdc83bc8d0f154276e7..0e23d344bcbfbd2d95bddbed916066478a797cd4 100644 (file)
@@ -78,6 +78,7 @@ class ServiceScan:
                self.updatePass()
                self.scan.statusChanged.get().append(self.scanStatusChanged)
                self.scan.newService.get().append(self.newService)
                self.updatePass()
                self.scan.statusChanged.get().append(self.scanStatusChanged)
                self.scan.newService.get().append(self.newService)
+               self.servicelist.clear()
                self.state = self.Running
                err = self.scan.start(self.feid, self.flags)
                if err:
                self.state = self.Running
                err = self.scan.start(self.feid, self.flags)
                if err:
@@ -100,3 +101,6 @@ class ServiceScan:
        def newService(self):
                newServiceName = self.scan.getLastServiceName()
                self.servicelist.addItem(newServiceName)
        def newService(self):
                newServiceName = self.scan.getLastServiceName()
                self.servicelist.addItem(newServiceName)
+
+       def destroy(self):
+               pass