summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks
diff options
context:
space:
mode:
authorGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-11 00:47:38 +0200
committerGravatar GammaC0de <GammaC0de@users.noreply.github.com> 2015-06-11 00:47:38 +0200
commit043e3dfd83bb217ea15280fef6523fcca691fbf2 (patch)
treef988b8f596b2199ec38fe7c859271884abdfcea1 /module/plugins/hooks
parentFix https://github.com/pyload/pyload/issues/1473 (diff)
downloadpyload-043e3dfd83bb217ea15280fef6523fcca691fbf2.tar.xz
fix #1475
Diffstat (limited to 'module/plugins/hooks')
-rw-r--r--module/plugins/hooks/ExternalScripts.py14
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",