From 8a893fbb9fe047bf2810681dee79b33139c8e886 Mon Sep 17 00:00:00 2001 From: Vincent Paredes Date: Fri, 7 Aug 2015 15:44:28 +0200 Subject: [PATCH] switching error to browser incorrect password --- modules/fortuneo/browser.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/fortuneo/browser.py b/modules/fortuneo/browser.py index d5531085..28809bd8 100644 --- a/modules/fortuneo/browser.py +++ b/modules/fortuneo/browser.py @@ -19,7 +19,6 @@ # along with weboob. If not, see . -from weboob.capabilities.base import UserError from weboob.deprecated.browser import Browser, BrowserIncorrectPassword from .pages.login import LoginPage @@ -83,7 +82,7 @@ class Fortuneo(Browser): if self.is_on_page(AccountsList) and self.page.need_reload(): self.location('/ReloadContext?action=1&') elif self.is_on_page(AccountsList): - raise UserError('Authentification with sms is not supported') + raise BrowserIncorrectPassword('Authentification with sms is not supported') def get_investments(self, account): self.location(account._link_id)