fix getting transactions of secondary accounts
This commit is contained in:
parent
dcd25b22eb
commit
0badd945a9
3 changed files with 9 additions and 4 deletions
|
|
@ -38,6 +38,7 @@ class AccountsList(BasePage):
|
|||
if not 'class' in tr.attrib and tr.find('td') is not None and tr.find('td').attrib.get('class', '') == 'typeTitulaire':
|
||||
account = Account()
|
||||
account.id = tr.xpath('.//td[@class="libelleCompte"]/input')[0].attrib['id'][len('libelleCompte'):]
|
||||
account.link_id = account.id
|
||||
if len(str(account.id)) == 23:
|
||||
account.id = str(account.id)[5:21]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue