Commit 5f6b483b authored by Simon Rochwerg's avatar Simon Rochwerg Committed by Romain Bignon

[creditdunord] raises BrowserPasswordExpired

parent eb0f5a9e
......@@ -21,7 +21,7 @@
import re
from weboob.browser import LoginBrowser, URL, need_login
from weboob.exceptions import BrowserIncorrectPassword, BrowserUnavailable
from weboob.exceptions import BrowserIncorrectPassword, BrowserPasswordExpired
from import Account, Investment
from weboob.capabilities.base import find_object
......@@ -67,7 +67,7 @@ class CreditDuNordBrowser(LoginBrowser):
if self.accounts.is_here():
expired_error =
if expired_error:
raise BrowserUnavailable(expired_error)
raise BrowserPasswordExpired(expired_error)
if self.login.is_here():
raise BrowserIncorrectPassword(
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