diff options
Diffstat (limited to 'module/plugins/hooks/Captcha9Kw.py')
-rw-r--r-- | module/plugins/hooks/Captcha9Kw.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hooks/Captcha9Kw.py b/module/plugins/hooks/Captcha9Kw.py index b269750ba..714be8bc4 100644 --- a/module/plugins/hooks/Captcha9Kw.py +++ b/module/plugins/hooks/Captcha9Kw.py @@ -7,8 +7,7 @@ import re import time from module.network.HTTPRequest import BadHeader -from module.plugins.internal.Addon import Addon -from module.plugins.internal.misc import threaded +from module.plugins.internal.Addon import Addon, threaded class Captcha9Kw(Addon): @@ -55,7 +54,7 @@ class Captcha9Kw(Addon): @threaded - def _process_captcha(self, task) + def _process_captcha(self, task): try: with open(task.captchaFile, 'rb') as f: data = f.read() |