fix parsing balance
This commit is contained in:
parent
7a44f62d2c
commit
80250751e7
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ class CmbBackend(BaseBackend, ICapBank):
|
||||||
account._cmbtype = m.group(3)
|
account._cmbtype = m.group(3)
|
||||||
|
|
||||||
|
|
||||||
balance = td[2].text
|
balance = u''.join([txt.strip() for txt in td[2].itertext()])
|
||||||
balance = balance.replace(',', '.').replace(u"\xa0", '')
|
balance = balance.replace(',', '.').replace(u"\xa0", '')
|
||||||
account.balance = Decimal(balance)
|
account.balance = Decimal(balance)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue