summaryrefslogtreecommitdiffstats
path: root/pyload/manager/CaptchaManager.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-03 21:20:20 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-03 21:20:20 +0200
commitf6e5359110f4bd5facc04a98f94acbc41b6e5228 (patch)
tree1f625724951c1b3a848f96c65708f437807f7190 /pyload/manager/CaptchaManager.py
parent[UpdateManager] Support new plugins structure (diff)
downloadpyload-f6e5359110f4bd5facc04a98f94acbc41b6e5228.tar.xz
Update pyload to the new plugins structure
Diffstat (limited to 'pyload/manager/CaptchaManager.py')
-rw-r--r--pyload/manager/CaptchaManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/manager/CaptchaManager.py b/pyload/manager/CaptchaManager.py
index 0ba876ae8..06f1347fc 100644
--- a/pyload/manager/CaptchaManager.py
+++ b/pyload/manager/CaptchaManager.py
@@ -64,7 +64,7 @@ class CaptchaManager:
if cli: #client connected -> should solve the captcha
task.setWaiting(50) #wait 50 sec for response
- for plugin in self.core.hookManager.activePlugins():
+ for plugin in self.core.addonManager.activePlugins():
try:
plugin.newCaptchaTask(task)
except:
@@ -87,7 +87,7 @@ class CaptchaTask:
self.captchaFormat = format
self.captchaFile = file
self.captchaResultType = result_type
- self.handler = [] #the hook plugins that will take care of the solution
+ self.handler = [] #: the hook plugins that will take care of the solution
self.result = None
self.waitUntil = None
self.error = None #error message