Commit e1e20a44 authored by Romain Bignon's avatar Romain Bignon

strip agency and key from account IDs

parent 70034d00
......@@ -42,6 +42,9 @@ 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() = tr.xpath('.//td[@class="libelleCompte"]/input')[0].attrib['id'][len('libelleCompte'):]
if len(str( == 23: = str([5:21]
account.label = tr.xpath('.//td[@class="libelleCompte"]/a')[0].text.strip()
tds = tr.findall('td')
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment