Commit e06ac5ff authored by Florian Duguet's avatar Florian Duguet Committed by Romain Bignon
Browse files

Add new WrongCaptchaResponse exception to

parent 66038093
......@@ -64,6 +64,12 @@ def __init__(self, type=None, **kwargs):
setattr(self, key, value)
class WrongCaptchaResponse(Exception):
"""when website tell us captcha response is not good"""
def __init__(self, message=None):
super(WrongCaptchaResponse, self).__init__(message or "Captcha response is wrong")
class ImageCaptchaQuestion(CaptchaQuestion):
type = 'image_captcha'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment