diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-18 16:13:45 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-18 16:13:45 +0100 |
commit | 990c1d9dd74b11b7110b2c66afb48704b5d5901f (patch) | |
tree | 30168575038533d36c9f56b0a7761bbbfed14731 | |
parent | Spare code cosmetics (2) (diff) | |
download | pyload-990c1d9dd74b11b7110b2c66afb48704b5d5901f.tar.xz |
[ClickAndLoad] Fix freeze after a pyLoad restart
-rw-r--r-- | module/plugins/hooks/ClickAndLoad.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/module/plugins/hooks/ClickAndLoad.py b/module/plugins/hooks/ClickAndLoad.py index 812f969f9..257f58584 100644 --- a/module/plugins/hooks/ClickAndLoad.py +++ b/module/plugins/hooks/ClickAndLoad.py @@ -24,7 +24,7 @@ def forward(source, destination): class ClickAndLoad(Hook): __name__ = "ClickAndLoad" __type__ = "hook" - __version__ = "0.40" + __version__ = "0.41" __config__ = [("activated", "bool", "Activated" , True), ("port" , "int" , "Port" , 9666), @@ -58,6 +58,8 @@ class ClickAndLoad(Hook): @threaded def proxy(self, ip, webport, cnlport): + time.sleep(10) #@TODO: Implement addon delay on start in 0.4.10 + self.logInfo(_("Proxy listening on %s:%s") % (ip or "0.0.0.0", cnlport)) self._server(ip, webport, cnlport) |