diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-14 18:36:31 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-14 18:36:31 +0200 |
commit | b7c7ecbd96514e084378fad00180073380462b67 (patch) | |
tree | 6eb8a6fad5f3cc9924352008411ced3f2efcc2c1 /module/plugins/hooks | |
parent | Update Hook (diff) | |
download | pyload-b7c7ecbd96514e084378fad00180073380462b67.tar.xz |
Revert https://github.com/pyload/pyload/commit/043e3dfd83bb217ea15280fef6523fcca691fbf2
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r-- | module/plugins/hooks/ExternalScripts.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py index 60a343f67..b5164a5aa 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.41" + __version__ = "0.42" __config__ = [("activated", "bool", "Activated" , True ), ("waitend" , "bool", "Wait script ending", False)] @@ -25,17 +25,17 @@ class ExternalScripts(Hook): interval = 0 #@TODO: Remove in 0.4.10 - event_list = ["archive_extract_failed", "archive_extracted" , - "package_extract_failed", "package_extracted" , - "all_archives_extracted", "all_archives_processed", - "allDownloadsFinished" , "allDownloadsProcessed" , - "packageDeleted"] - def setup(self): self.info = {'oldip': None} self.scripts = {} + self.event_list = ["archive_extract_failed", "archive_extracted" , + "package_extract_failed", "package_extracted" , + "all_archives_extracted", "all_archives_processed", + "allDownloadsFinished" , "allDownloadsProcessed" , + "packageDeleted"] + folders = ["pyload_start", "pyload_restart", "pyload_stop", "before_reconnect", "after_reconnect", "download_preparing", "download_failed", "download_finished", |