diff options
author | Walter Purcaro <vuolter@gmail.com> | 2015-01-16 01:36:04 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2015-01-16 01:36:04 +0100 |
commit | e2d8d605aeb4fd3477a8d681e16cd0b17500a648 (patch) | |
tree | d420aa32404d980f47951db910fe42ba6c17cd3a /module/plugins/hooks/ExternalScripts.py | |
parent | [SkipRev] Fix https://github.com/pyload/pyload/issues/1048 (diff) | |
download | pyload-e2d8d605aeb4fd3477a8d681e16cd0b17500a648.tar.xz |
Fix allDownloadsFinished and allDownloadsProcessed defs
Diffstat (limited to 'module/plugins/hooks/ExternalScripts.py')
-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 f4d2cb69c..b2b4548a2 100644 --- a/module/plugins/hooks/ExternalScripts.py +++ b/module/plugins/hooks/ExternalScripts.py @@ -13,7 +13,7 @@ from module.utils import save_join class ExternalScripts(Hook): __name__ = "ExternalScripts" __type__ = "hook" - __version__ = "0.26" + __version__ = "0.27" __config__ = [("activated", "bool", "Activated", True)] @@ -136,11 +136,11 @@ class ExternalScripts(Hook): self.callScript(script) - def allDownloadsFinished(self, thread): + def allDownloadsFinished(self): for script in chain(self.scripts['all_downloads_finished'], self.scripts['all_dls_finished']): self.callScript(script) - def allDownloadsProcessed(self, thread): + def allDownloadsProcessed(self): for script in chain(self.scripts['all_downloads_processed'], self.scripts['all_dls_processed']): self.callScript(script) |