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

Add new WrongCaptchaResponse exception to weboob.exceptions.py

parent 66038093
......@@ -64,6 +64,12 @@ class CaptchaQuestion(Exception):
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