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 weboob.capabilities.bank import Account, Investment
from weboob.capabilities.base import find_object
......@@ -67,7 +67,7 @@ class CreditDuNordBrowser(LoginBrowser):
if self.accounts.is_here():
expired_error = self.page.get_password_expired()
if expired_error:
raise BrowserUnavailable(expired_error)
raise BrowserPasswordExpired(expired_error)
if self.login.is_here():
raise BrowserIncorrectPassword(self.page.get_error())
......
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