summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/ExternalScripts.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-20 01:37:20 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-03-20 01:37:20 +0100
commit241d6fcca23656cf9690df455a0b7f9a44b472dd (patch)
tree993d8bfbd5ea25addc297b05ce6a13a83e916475 /module/plugins/hooks/ExternalScripts.py
parent[SimpleHoster] Fix https://github.com/pyload/pyload/issues/1263 (diff)
downloadpyload-241d6fcca23656cf9690df455a0b7f9a44b472dd.tar.xz
[ExtractArchive] Update dispatchEvent
Diffstat (limited to 'module/plugins/hooks/ExternalScripts.py')
-rw-r--r--module/plugins/hooks/ExternalScripts.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/module/plugins/hooks/ExternalScripts.py b/module/plugins/hooks/ExternalScripts.py
index 435ab618c..16049ae9b 100644
--- a/module/plugins/hooks/ExternalScripts.py
+++ b/module/plugins/hooks/ExternalScripts.py
@@ -96,6 +96,7 @@ class ExternalScripts(Hook):
except Exception:
self.logError(_("Runtime error: %s") % os.path.abspath(script), _("Unknown error"))
+
def beforeReconnecting(self, ip):
for script in self.scripts['before_reconnect']:
self.callScript(script, ip)