Commit d61ed852 authored by Sylvie Ye's avatar Sylvie Ye Committed by Romain Bignon

[societegenerale] raise browserunavailable for users who can't access SG website

parent 51bd679b
......@@ -135,8 +135,12 @@ class SocieteGenerale(LoginBrowser, StatesMixin):
reason, action =
if reason == 'echec_authent':
raise BrowserIncorrectPassword()
if reason == 'acces_bloq':
elif reason == 'acces_bloq':
raise ActionNeeded()
elif reason == 'err_tech':
# there is message "Service momentanément indisponible. Veuillez réessayer."
# in SG website in that case ...
raise BrowserUnavailable()
def iter_cards(self, account):
for el in account._cards:
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