summaryrefslogtreecommitdiffstats
path: root/module/HookManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-27 17:32:58 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-10-27 17:32:58 +0200
commite03e4b63cbcf37407c23d144e6d4c247be1f06b8 (patch)
tree6e6a20aad8f8ea3f4dc27189eaf7e96330d89e03 /module/HookManager.py
parentsharerapid.com fix server response 401 (diff)
downloadpyload-e03e4b63cbcf37407c23d144e6d4c247be1f06b8.tar.xz
closed #411
Diffstat (limited to 'module/HookManager.py')
-rw-r--r--module/HookManager.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/module/HookManager.py b/module/HookManager.py
index 88ce62da6..25f84831e 100644
--- a/module/HookManager.py
+++ b/module/HookManager.py
@@ -208,11 +208,10 @@ class HookManager:
self.dispatchEvent("coreExiting")
@lock
- def downloadStarts(self, pyfile):
- #TODO: rename to downloadPreparing
+ def downloadPreparing(self, pyfile):
for plugin in self.plugins:
if plugin.isActivated():
- plugin.downloadStarts(pyfile)
+ plugin.downloadPreparing(pyfile)
self.dispatchEvent("downloadPreparing", pyfile)
@@ -265,10 +264,6 @@ class HookManager:
self.dispatchEvent("afterReconnecting", ip)
- @lock
- def unrarFinished(self, folder, fname):
- self.dispatchEvent("unrarFinished", folder, fname)
-
def startThread(self, function, *args, **kwargs):
t = HookThread(self.core.threadManager, function, args, kwargs)