From 0ea938a0c67a89d4fd5ffb18bb5bb018fa80bc2c Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 22 Feb 2013 09:41:40 +0100 Subject: [PATCH] Restore old ID for compatibility --- modules/ing/pages/accounts_list.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/ing/pages/accounts_list.py b/modules/ing/pages/accounts_list.py index 6ca67dd0..23f93f19 100644 --- a/modules/ing/pages/accounts_list.py +++ b/modules/ing/pages/accounts_list.py @@ -44,4 +44,10 @@ class AccountsList(BasePage): balance = a.find('span[@class="solde"]/label').text account.balance = Decimal(FrenchTransaction.clean_amount(balance)) account.coming = NotAvailable + if "Courant" in account.label: + account.id = "CC-" + account.id + elif "Livret A" in account.label: + account.id = "LA-" + account.id + elif "Orange" in account.label: + account.id = "LEO-" + account.id yield account