From 0652c0353ff333719752caa358c1b23891458432 Mon Sep 17 00:00:00 2001 From: Radek Kazbunda Date: Mon, 5 Dec 2022 17:55:26 +0100 Subject: [PATCH] Fix normalization issue with environment locales --- gruut/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gruut/const.py b/gruut/const.py index dcc4486..9610bfa 100644 --- a/gruut/const.py +++ b/gruut/const.py @@ -835,7 +835,7 @@ def __post_init__(self): # $ -> USD self.currencies = { - babel.numbers.get_currency_symbol(cn): cn + babel.numbers.get_currency_symbol(cn, locale_obj): cn for cn in locale_obj.currency_symbols } except Exception: