summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSHoster.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-18 06:09:04 +0100
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-12-27 22:37:54 +0100
commit58125cc90a78b67093b8213247ea647dd67dd9ca (patch)
tree69ae964377cbd45430bb78ade3930b820e867a55 /module/plugins/internal/XFSHoster.py
parent[OCR] self.image -> self.img (diff)
downloadpyload-58125cc90a78b67093b8213247ea647dd67dd9ca.tar.xz
Spare code fixes
Diffstat (limited to 'module/plugins/internal/XFSHoster.py')
-rw-r--r--module/plugins/internal/XFSHoster.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/plugins/internal/XFSHoster.py b/module/plugins/internal/XFSHoster.py
index 82b596aff..dabf1457a 100644
--- a/module/plugins/internal/XFSHoster.py
+++ b/module/plugins/internal/XFSHoster.py
@@ -247,6 +247,7 @@ class XFSHoster(SimpleHoster):
self.log_debug("ReCaptcha key: %s" % captcha_key)
if captcha_key:
+ self.captcha = recaptcha
inputs['recaptcha_response_field'], inputs['recaptcha_challenge_field'] = recaptcha.challenge(captcha_key)
return
@@ -261,4 +262,5 @@ class XFSHoster(SimpleHoster):
self.log_debug("SolveMedia key: %s" % captcha_key)
if captcha_key:
+ self.captcha = solvemedia
inputs['adcopy_response'], inputs['adcopy_challenge'] = solvemedia.challenge(captcha_key)