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