strip EUR from amount strings
This commit is contained in:
parent
732be99bfb
commit
a7c024e3bc
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ class FrenchTransaction(Transaction):
|
|||
Clean a string containing an amount.
|
||||
"""
|
||||
return text.replace(' ', '').replace('.','').replace(u'\xa0', '') \
|
||||
.replace(',','.').strip(u' \t\u20ac\xa0\x80€\n\r')
|
||||
.replace(',','.').strip(u' \t\u20ac\xa0\x80€\n\rEUR')
|
||||
|
||||
def set_amount(self, credit='', debit=''):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue