Restore old ID for compatibility
This commit is contained in:
parent
c6e5f41983
commit
0ea938a0c6
1 changed files with 6 additions and 0 deletions
|
|
@ -44,4 +44,10 @@ class AccountsList(BasePage):
|
|||
balance = a.find('span[@class="solde"]/label').text
|
||||
account.balance = Decimal(FrenchTransaction.clean_amount(balance))
|
||||
account.coming = NotAvailable
|
||||
if "Courant" in account.label:
|
||||
account.id = "CC-" + account.id
|
||||
elif "Livret A" in account.label:
|
||||
account.id = "LA-" + account.id
|
||||
elif "Orange" in account.label:
|
||||
account.id = "LEO-" + account.id
|
||||
yield account
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue