]> git.openstreetmap.org Git - osqa.git/blobdiff - forum_modules/recaptcha/formfield.py
make the xml exporter work
[osqa.git] / forum_modules / recaptcha / formfield.py
index 88b949727ec456acdc577b3e506f8a158d87ada2..26ece87262b2ca7c857b677cbd064e06d530566b 100644 (file)
@@ -27,6 +27,7 @@ class ReCaptchaWidget(forms.Widget):
         return mark_safe(force_unicode(captcha.displayhtml(settings.RECAPTCHA_PUB_KEY)))
 
     def value_from_datadict(self, data, files, name):
-        return (data.get('recaptcha_challenge_field', None), data.get('recaptcha_response_field', None))
+
+        return data.get('recaptcha_challenge_field', None), data.get('recaptcha_response_field', None)