mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-02 03:02:23 +02:00
Fix language code parsing (#589)
(cherry picked from commit 342292ca9f
)
This commit is contained in:
parent
9b51ac77d2
commit
4238c34627
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