Skip to content

Commit

Permalink
Merge pull request django-recaptcha#81 from MaximKiselev/develop
Browse files Browse the repository at this point in the history
Update client.py
  • Loading branch information
hedleyroos committed Jan 4, 2016
2 parents 55b80d5 + 703de09 commit 3020984
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions captcha/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ def submit(recaptcha_challenge_field,
else:
return_values = httpresp.read().decode('utf-8').splitlines()
return_code = return_values[0]
if not PY2:
return_code = return_code.decode('utf-8')

httpresp.close()

Expand Down

0 comments on commit 3020984

Please sign in to comment.