diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-20 11:22:16 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-03-20 11:22:16 +0100 |
commit | c4b30b08857225e6a70aa3171b6663d84e78b22f (patch) | |
tree | d44761c0ccd4a9ab5bb01fd564bb3bbc99ceab86 /module/plugins/hooks | |
parent | [UploadheroCom] Fix https://github.com/pyload/pyload/issues/1244 (diff) | |
download | pyload-c4b30b08857225e6a70aa3171b6663d84e78b22f.tar.xz |
[ExternalScripts] Rename pyload_shutdown to pyload_stop
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/ExternalScripts.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py index dffa3649f..8f6c405fd 100644 --- a/module/plugins/hooks/ExternalScripts.py +++ b/module/plugins/hooks/ExternalScripts.py @@ -10,7 +10,7 @@ from module.utils import fs_encode, save_join class ExternalScripts(Hook): __name__ = "ExternalScripts" __type__ = "hook" - __version__ = "0.36" + __version__ = "0.37" __config__ = [("activated", "bool", "Activated" , True ), ("waitend" , "bool", "Wait script ending", False)] @@ -39,7 +39,7 @@ class ExternalScripts(Hook): self.info = {'oldip': None} self.scripts = {} - folders = ["pyload_start", "pyload_restart", "pyload_shutdown", + folders = ["pyload_start", "pyload_restart", "pyload_stop", "before_reconnect", "after_reconnect", "download_preparing", "download_failed", "download_finished", "archive_extract_failed", "archive_extracted", @@ -107,7 +107,7 @@ class ExternalScripts(Hook): def coreExiting(self): - for script in self.scripts['pyload_restart' if self.core.do_restart else 'pyload_shutdown']: + for script in self.scripts['pyload_restart' if self.core.do_restart else 'pyload_stop']: self.callScript(script) |