do not consider accounts without balance
This commit is contained in:
parent
a5e35a4c6e
commit
f79ae2d566
1 changed files with 1 additions and 1 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue