summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-30 01:55:37 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-01-30 01:55:37 +0100
commit4dbd7eec7a1e4a3b3ce821453d35f9dc621aed52 (patch)
tree9f5d7e797a94dd693eac6c6ad1e2fb7aa5f9f92f /module/plugins
parent[MegaCoNz] Fix import error (diff)
downloadpyload-4dbd7eec7a1e4a3b3ce821453d35f9dc621aed52.tar.xz
[ClickNLoad] Fix false reporting of unclean shutdown on python 2.5
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/hooks/ClickNLoad.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ClickNLoad.py b/module/plugins/hooks/ClickNLoad.py
index 4c72c7512..cfa0c1f1d 100644
--- a/module/plugins/hooks/ClickNLoad.py
+++ b/module/plugins/hooks/ClickNLoad.py
@@ -17,7 +17,7 @@ from module.plugins.internal.misc import forward, lock
class ClickNLoad(Addon):
__name__ = "ClickNLoad"
__type__ = "hook"
- __version__ = "0.57"
+ __version__ = "0.58"
__status__ = "testing"
__config__ = [("activated", "bool" , "Activated" , True ),
@@ -65,8 +65,8 @@ class ClickNLoad(Addon):
except Exception:
pass
- success_exit = self.exit_done.wait(10)
- if success_exit:
+ self.exit_done.wait(10)
+ if self.exit_done.isSet():
self.log_debug(_("Server exited successfully"))
else:
self.log_warning(_("Server was not exited gracefully, shutdown forced"))