From 040231a2744585118fd8692007e7b55df2e7a164 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 19 Apr 2013 14:44:22 +0200 Subject: [PATCH] Add type account on ING --- modules/ing/pages/accounts_list.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/ing/pages/accounts_list.py b/modules/ing/pages/accounts_list.py index a173a170..0a5fef97 100644 --- a/modules/ing/pages/accounts_list.py +++ b/modules/ing/pages/accounts_list.py @@ -66,14 +66,19 @@ class AccountsList(BasePage): account.coming = NotAvailable if "Courant" in account.label: account.id = "CC-" + account.id + account.type = Account.TYPE_CHECKING elif "Livret A" in account.label: account.id = "LA-" + account.id + account.type = Account.TYPE_SAVINGS elif "Orange" in account.label: account.id = "LEO-" + account.id + account.type = Account.TYPE_SAVINGS elif "Titres" in account.label: account.id = "TITRE-" + account.id + account.type = Account.TYPE_MARKET elif "PEA" in account.label: account.id = "PEA-" + account.id + account.type = Account.TYPE_MARKET jid = self.document.find('//input[@name="javax.faces.ViewState"]') account._jid = jid.attrib['value'] yield account