correction bug locale us-US

This commit is contained in:
2021-01-14 17:46:16 +01:00
parent 123cc393f0
commit 023bc3e962

View File

@@ -39,8 +39,7 @@ def to_euro(x):
def to_usd(x):
"""Takes a float and returns a string"""
locale.setlocale(locale.LC_ALL,'en-US')
return locale.currency(x, True, True)
return to_euro(x).replace('','$')
def to_int(x):