diff options
author | 2015-07-18 20:04:36 +0200 | |
---|---|---|
committer | 2015-07-18 20:04:36 +0200 | |
commit | 9e5d813d7721e351ac02ba72bdc473a7d77ba6b7 (patch) | |
tree | 1a5167cea6492283bfb679c4efdb4c13534d844f /module/plugins/hooks/BypassCaptcha.py | |
parent | Reorder some functions (diff) | |
download | pyload-9e5d813d7721e351ac02ba72bdc473a7d77ba6b7.tar.xz |
Code cosmetics
Diffstat (limited to 'module/plugins/hooks/BypassCaptcha.py')
-rw-r--r-- | module/plugins/hooks/BypassCaptcha.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hooks/BypassCaptcha.py b/module/plugins/hooks/BypassCaptcha.py index cb91c06ce..ab08c68c1 100644 --- a/module/plugins/hooks/BypassCaptcha.py +++ b/module/plugins/hooks/BypassCaptcha.py @@ -3,7 +3,7 @@ import pycurl 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 @@ -61,7 +61,7 @@ class BypassCaptcha(Hook): def submit(self, captcha, captchaType="file", match=None): - req = getRequest() + req = get_request() # raise timeout threshold req.c.setopt(pycurl.LOW_SPEED_TIME, 80) |