diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-11 03:48:29 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-06-11 03:48:29 +0200 |
commit | 470ae8c8032ab5451b830e8c3b4712e7213a8a99 (patch) | |
tree | f988b8f596b2199ec38fe7c859271884abdfcea1 /module/plugins | |
parent | Fix https://github.com/pyload/pyload/issues/1473 (diff) | |
parent | fix #1475 (diff) | |
download | pyload-470ae8c8032ab5451b830e8c3b4712e7213a8a99.tar.xz |
Merge pull request #1482 from GammaC0de/patch-2
fix #1475
Diffstat (limited to 'module/plugins')
-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 a4f698f98..60a343f67 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.40" + __version__ = "0.41" __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", |