From 58125cc90a78b67093b8213247ea647dd67dd9ca Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 18 Dec 2015 06:09:04 +0100 Subject: Spare code fixes --- module/plugins/hooks/CaptchaBrotherhood.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'module/plugins/hooks/CaptchaBrotherhood.py') diff --git a/module/plugins/hooks/CaptchaBrotherhood.py b/module/plugins/hooks/CaptchaBrotherhood.py index ba29d809e..15546c63f 100644 --- a/module/plugins/hooks/CaptchaBrotherhood.py +++ b/module/plugins/hooks/CaptchaBrotherhood.py @@ -15,8 +15,7 @@ except ImportError: import Image 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 CaptchaBrotherhoodException(Exception): @@ -161,7 +160,7 @@ class CaptchaBrotherhood(Addon): @threaded - def _process_captcha(self, task) + def _process_captcha(self, task): c = task.captchaFile try: ticket, result = self.submit(c) -- cgit v1.2.3