diff options
Diffstat (limited to 'module/plugins/hooks/ExpertDecoders.py')
-rw-r--r-- | module/plugins/hooks/ExpertDecoders.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/ExpertDecoders.py b/module/plugins/hooks/ExpertDecoders.py index 6ec1f8bf1..919445db8 100644 --- a/module/plugins/hooks/ExpertDecoders.py +++ b/module/plugins/hooks/ExpertDecoders.py @@ -8,7 +8,7 @@ import uuid from base64 import b64encode from module.network.HTTPRequest import BadHeader -from module.network.RequestFactory import getRequest +from module.network.RequestFactory import getRequest as get_request from module.plugins.internal.Hook import Hook, threaded @@ -55,7 +55,7 @@ class ExpertDecoders(Hook): with open(task.captchaFile, 'rb') as f: data = f.read() - req = getRequest() + req = get_request() # raise timeout threshold req.c.setopt(pycurl.LOW_SPEED_TIME, 80) |