From 5b9c359487cb1aa228593b8211ce7873d1187607 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sun, 10 Feb 2013 17:12:23 +0100 Subject: [PATCH] do not support other kind of account histories than CPT --- modules/hsbc/pages/accounts.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/hsbc/pages/accounts.py b/modules/hsbc/pages/accounts.py index c2ce2b7a..76a3373c 100644 --- a/modules/hsbc/pages/accounts.py +++ b/modules/hsbc/pages/accounts.py @@ -55,10 +55,6 @@ class AccountsListPage(BasePage): if account_type != 'CPT': account.id += '.%s' % account_type - if account_type == 'Ass': - # We don't like licking asses. - account._link_id = None - if account_type == 'CB': accounts[0]._card_links.append(account._link_id) if not accounts[0].coming: @@ -66,6 +62,10 @@ class AccountsListPage(BasePage): accounts[0].coming += account.balance continue + if account_type != 'CPT': + # Don't support other kind of account histories. + account._link_id = None + account.currency = account.get_currency(tds[1].text) account._card_links = []