Set replace_dots everywhere
The goal is to change the default value in CleanDecimal
This commit is contained in:
parent
e448fb9459
commit
a434f33a61
10 changed files with 16 additions and 17 deletions
|
|
@ -53,7 +53,7 @@ class HomePage(LoggedPage, HTMLPage):
|
|||
|
||||
obj_id = Regexp(CleanText('./div[@class="carte_col_leftcol"]/p'), r'(\d+)')
|
||||
obj_label = CleanText('./div[@class="carte_col_leftcol"]/h2')
|
||||
obj_balance = CleanDecimal(Format('-%s', CleanText('.//div[@class="catre_col_one"]/h2')))
|
||||
obj_balance = CleanDecimal(Format('-%s', CleanText('.//div[@class="catre_col_one"]/h2')), replace_dots=True)
|
||||
obj_currency = FrenchTransaction.Currency('.//div[@class="catre_col_one"]/h2')
|
||||
obj__link = Link('.//a[contains(@href, "solde-dernieres-operations")]')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue