mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-04-30 18:22:38 +02:00
Fix language code parsing (#589)
This commit is contained in:
parent
d9dc38947c
commit
342292ca9f
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ def static_include(filename):
|
||||||
|
|
||||||
|
|
||||||
def locale_from_iso(iso_code):
|
def locale_from_iso(iso_code):
|
||||||
return Locale(iso_code)
|
return Locale.parse(iso_code)
|
||||||
|
|
||||||
|
|
||||||
def list_of_dicts2json(dict_to_convert):
|
def list_of_dicts2json(dict_to_convert):
|
||||||
|
|
Loading…
Reference in a new issue