diff --git a/modules/cragr/web/pages.py b/modules/cragr/web/pages.py index a151a44b..6f3d7a14 100644 --- a/modules/cragr/web/pages.py +++ b/modules/cragr/web/pages.py @@ -89,7 +89,7 @@ class _AccountsPage(BasePage): balance = self.parser.tocleanstring(cols[self.COL_VALUE]) # we have to ignore those accounts, because using NotAvailable # makes boobank and probably many others crash - if balance == 'indisponible': + if balance in ('indisponible', ''): continue account.balance = Decimal(Transaction.clean_amount(balance)) account.currency = account.get_currency(self.parser.tocleanstring(cols[self.COL_CURRENCY]))