diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-18 06:09:04 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-12-27 22:37:54 +0100 |
commit | 58125cc90a78b67093b8213247ea647dd67dd9ca (patch) | |
tree | 69ae964377cbd45430bb78ade3930b820e867a55 /module/plugins/hooks/ExpertDecoders.py | |
parent | [OCR] self.image -> self.img (diff) | |
download | pyload-58125cc90a78b67093b8213247ea647dd67dd9ca.tar.xz |
Spare code fixes
Diffstat (limited to 'module/plugins/hooks/ExpertDecoders.py')
-rw-r--r-- | module/plugins/hooks/ExpertDecoders.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hooks/ExpertDecoders.py b/module/plugins/hooks/ExpertDecoders.py index 9c7f129cb..9b29aa8c5 100644 --- a/module/plugins/hooks/ExpertDecoders.py +++ b/module/plugins/hooks/ExpertDecoders.py @@ -9,8 +9,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 ExpertDecoders(Addon): @@ -45,7 +44,7 @@ class ExpertDecoders(Addon): @threaded - def _process_captcha(self, task) + def _process_captcha(self, task): task.data['ticket'] = ticket = uuid.uuid4() result = None |