From a4edbb82b98e38998169930d92870aabe309ffc8 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Wed, 20 Feb 2013 14:07:38 +0100 Subject: [PATCH] fix typo: if there isn't any card, it didn't return any transactions --- modules/hsbc/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/hsbc/backend.py b/modules/hsbc/backend.py index 0796064e..4b15fddd 100644 --- a/modules/hsbc/backend.py +++ b/modules/hsbc/backend.py @@ -60,7 +60,7 @@ class HSBCBackend(BaseBackend, ICapBank): with self.browser: for tr in self.browser.get_history(account): # If there are deferred cards, strip CB invoices. - if not tr._coming and not (tr.raw.startswith('FACTURES CB') or len(account._card_links) == 0): + if not tr._coming and (not tr.raw.startswith('FACTURES CB') or len(account._card_links) == 0): yield tr def iter_coming(self, account):