(self)
| 43 | self.exit_done = threading.Event() |
| 44 | |
| 45 | def activate(self): |
| 46 | if not self.pyload.config.get('webinterface', 'activated'): |
| 47 | self.log_warning( |
| 48 | _("pyLoad's Web interface is not active, ClickNLoad cannot start")) |
| 49 | return |
| 50 | |
| 51 | self.pyload.scheduler.addJob(5, self.proxy, threaded=False) |
| 52 | |
| 53 | def deactivate(self): |
| 54 | if self.server_running: |
nothing calls this directly
no test coverage detected