Clean amount on banquepopulaire
This commit is contained in:
parent
d0c7a18d20
commit
ede3d4fd5e
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ class AccountsPage(BasePage):
|
|||
account.label = u''.join([txt.strip() for txt in tds[2].itertext()])
|
||||
account.type = account_type
|
||||
link = tds[3].find('a')
|
||||
account.balance = Decimal(link.find('span').text.strip().replace(' ', '').replace(',', '.'))
|
||||
account.balance = Decimal(FrenchTransaction.clean_amount(link.find('span').text))
|
||||
account._params = params.copy()
|
||||
account._params['dialogActionPerformed'] = 'SOLDE'
|
||||
account._params['attribute($SEL_$%s)' % tr.attrib['id'].split('_')[0]] = tr.attrib['id'].split('_', 1)[1]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue