Strip every accepted thousands separator
This commit is contained in:
1 parent
4743353d40
commit
accc235022
1 file changed
+4
-1
@@ -69,7 +69,10 @@ def list_rates(conn=None):
|
|||||||
|
|
||||||
|
|
||||||
def _strip(text):
|
def _strip(text):
|
||||||
return str(text).replace(SPACE, " ").replace(" ", "").strip()
|
cleaned = str(text)
|
||||||
|
for separator in THOUSANDS_SEPARATORS:
|
||||||
|
cleaned = cleaned.replace(separator, "")
|
||||||
|
return cleaned.strip()
|
||||||
|
|
||||||
|
|
||||||
def _split(text):
|
def _split(text):
|
||||||
|
|||||||
Reference in new issue
Block a user