From adcac73602ab153ffc3fb6effe40a47976028f0a Mon Sep 17 00:00:00 2001 From: Vincent Ardisson Date: Mon, 19 Nov 2018 18:47:56 +0100 Subject: [PATCH] [boursorama] Account.id should be str, not Decimal --- modules/boursorama/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/boursorama/pages.py b/modules/boursorama/pages.py index e48e1f307a..1780bb1c49 100644 --- a/modules/boursorama/pages.py +++ b/modules/boursorama/pages.py @@ -337,7 +337,7 @@ class get_loan(ItemElement): klass = Loan - obj_id = CleanDecimal('//h3[contains(@class, "account-number")]/strong') + obj_id = CleanText('//h3[contains(@class, "account-number")]/strong') obj_label = CleanText('//h2[contains(@class, "page-title__account")]//div[@class="account-edit-label"]/span') obj_total_amount = CleanDecimal('//p[contains(text(), "Montant emprunt")]/span', replace_dots=True) obj_currency = CleanCurrency('//p[contains(text(), "Montant emprunt")]/span') -- GitLab