Commit 120f496c authored by Quentin Defenouillere's avatar Quentin Defenouillere Committed by Romain Bignon

[cragr] Changed the behavior of logged-out page

There is no need to raise a BrowserUnavailable when we reached the
Logged out page, anyways we have to login again when we come back from
the Netfinca or Predica spaces because we are systemically logged out in
any case.
parent fae2890b
......@@ -25,7 +25,6 @@ import json
import dateutil
from weboob.browser.pages import HTMLPage, JsonPage, LoggedPage
from weboob.exceptions import BrowserUnavailable
from weboob.capabilities import NotAvailable
from import (
Account, AccountOwnerType, Transaction,
......@@ -65,9 +64,6 @@ class LoggedOutPage(HTMLPage):
def is_here(self):
return self.doc.xpath('//b[text()="FIN DE CONNEXION"]')
def on_load(self):
self.logger.warning('We have been logged out!')
raise BrowserUnavailable()
class SecurityPage(JsonPage):
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