fix typo: if there isn't any card, it didn't return any transactions
This commit is contained in:
parent
2f54c8f81c
commit
a4edbb82b9
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class HSBCBackend(BaseBackend, ICapBank):
|
||||||
with self.browser:
|
with self.browser:
|
||||||
for tr in self.browser.get_history(account):
|
for tr in self.browser.get_history(account):
|
||||||
# If there are deferred cards, strip CB invoices.
|
# 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
|
yield tr
|
||||||
|
|
||||||
def iter_coming(self, account):
|
def iter_coming(self, account):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue