diff --git a/modules/ing/browser.py b/modules/ing/browser.py index 0195156f..02e68249 100644 --- a/modules/ing/browser.py +++ b/modules/ing/browser.py @@ -20,7 +20,7 @@ from weboob.tools.browser import BaseBrowser from .pages import AccountsList, LoginPage, LoginPage2, \ - AccountHistoryCC, AccountHistoryLA + AccountHistory __all__ = ['Ing'] @@ -33,8 +33,8 @@ class Ing(BaseBrowser): PAGES = {'.*displayTRAccountSummary.*': AccountsList, '.*displayLogin.jsf': LoginPage, '.*displayLogin.jsf.*': LoginPage2, - '.*accountDetail.jsf.*': AccountHistoryCC, - '.*displayTRHistoriqueLA.*': AccountHistoryLA + '.*accountDetail.jsf.*': AccountHistory, + '.*displayTRHistoriqueLA.*': AccountHistory } def __init__(self, *args, **kwargs): diff --git a/modules/ing/pages/__init__.py b/modules/ing/pages/__init__.py index a1b7737b..161fbd1b 100644 --- a/modules/ing/pages/__init__.py +++ b/modules/ing/pages/__init__.py @@ -19,12 +19,12 @@ from .accounts_list import AccountsList -from .account_history import AccountHistoryCC, AccountHistoryLA +from .account_history import AccountHistory from .login import LoginPage, LoginPage2, ConfirmPage, MessagePage class AccountPrelevement(AccountsList): pass -__all__ = ['AccountsList', 'AccountHistoryCC', 'AccountHistoryLA', 'LoginPage', +__all__ = ['AccountsList', 'AccountHistory', 'LoginPage', 'LoginPage2', 'ConfirmPage', 'MessagePage', 'AccountPrelevement'] diff --git a/modules/ing/pages/account_history.py b/modules/ing/pages/account_history.py index 79cfe873..c6861619 100644 --- a/modules/ing/pages/account_history.py +++ b/modules/ing/pages/account_history.py @@ -27,23 +27,18 @@ from weboob.capabilities.bank import Transaction from weboob.tools.capabilities.bank.transactions import FrenchTransaction -__all__ = ['AccountHistoryCC', 'AccountHistoryLA'] +__all__ = ['AccountHistory'] -class TransactionCC(FrenchTransaction): +class Transaction(FrenchTransaction): PATTERNS = [(re.compile(u'^retrait dab (?P