summaryrefslogtreecommitdiffstats
path: root/module/plugins/internal/XFSHoster.py
diff options
context:
space:
mode:
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)