get the full label of an account
This commit is contained in:
parent
131b9775a2
commit
52aaefe6ec
1 changed files with 2 additions and 1 deletions
|
|
@ -77,7 +77,8 @@ class AccountsPage(BasePage):
|
|||
|
||||
account = Account()
|
||||
account.id = args['identifiant']
|
||||
account.label = u''.join([txt.strip() for txt in tds[2].itertext()])
|
||||
account.label = u' '.join([u''.join([txt.strip() for txt in tds[1].itertext()]),
|
||||
u''.join([txt.strip() for txt in tds[2].itertext()])]).strip()
|
||||
account.type = account_type
|
||||
link = tds[3].find('a')
|
||||
account.balance = Decimal(FrenchTransaction.clean_amount(link.find('span').text))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue