diff options
Diffstat (limited to 'module/plugins/hooks/BypassCaptcha.py')
-rw-r--r-- | module/plugins/hooks/BypassCaptcha.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hooks/BypassCaptcha.py b/module/plugins/hooks/BypassCaptcha.py index bc34f1239..bc28b1469 100644 --- a/module/plugins/hooks/BypassCaptcha.py +++ b/module/plugins/hooks/BypassCaptcha.py @@ -4,8 +4,7 @@ import pycurl from module.network.HTTPRequest import BadHeader from module.network.RequestFactory import getRequest as get_request -from module.plugins.internal.Addon import Addon -from module.plugins.internal.misc import threaded +from module.plugins.internal.Addon import Addon, threaded class BypassCaptchaException(Exception): @@ -126,7 +125,7 @@ class BypassCaptcha(Addon): @threaded - def _process_captcha(self, task) + def _process_captcha(self, task): c = task.captchaFile try: ticket, result = self.submit(c) |