From f6e5359110f4bd5facc04a98f94acbc41b6e5228 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 3 Oct 2014 21:20:20 +0200 Subject: Update pyload to the new plugins structure --- pyload/manager/CaptchaManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pyload/manager/CaptchaManager.py') 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 -- cgit v1.2.3