bnporc[ent]: Fix unknown page warning

We ignore the "/NSFR" page because it's easier to switch to another page
right away.
This commit is contained in:
Laurent Bachelier 2013-07-23 22:26:55 +02:00
commit 8dca8951b6
2 changed files with 8 additions and 3 deletions

View file

@ -29,7 +29,7 @@ from weboob.tools.captcha.virtkeyboard import MappedVirtKeyboard, VirtKeyboardEr
from weboob.tools.misc import to_unicode
__all__ = ['LoginPage', 'AccountsPage']
__all__ = ['LoginPage', 'AccountsPage', 'UnknownPage']
class Transaction(FrenchTransaction):
@ -143,3 +143,7 @@ class AccountsPage(BEPage):
account.currency = Account.get_currency(tdbalcur.text)
account._updated = datetime.strptime(tdupdated.text, '%d/%m/%Y')
yield account
class UnknownPage(BEPage):
pass