diff --git a/modules/caissedepargne/browser.py b/modules/caissedepargne/browser.py index edefc43cbfb98e3bca3d8d7aa9a4d5a621026a03..c5c3a0093ea079fe8f42c8316fb6b8f3931bec08 100644 --- a/modules/caissedepargne/browser.py +++ b/modules/caissedepargne/browser.py @@ -246,6 +246,11 @@ def do_login(self): self.multi_type = True if self.inexttype < len(data['account']): + if data['account'][self.inexttype] == 'EU' and not self.nuser: + # when EU is present and not alone, it tends to come first + # if nuser is unset though, user probably doesn't want 'EU' + self.inexttype += 1 + self.typeAccount = data['account'][self.inexttype] else: assert False, 'should have logged in with at least one connection type'