diff --git a/modules/societegenerale/browser.py b/modules/societegenerale/browser.py index a2afaab758d36acc4e74989db1b9155ab71e1319..db4c97a1afc63219222ea9718f5bea50d74ebba5 100644 --- a/modules/societegenerale/browser.py +++ b/modules/societegenerale/browser.py @@ -135,8 +135,12 @@ def do_login(self): reason, action = self.page.get_error() 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: