Fix language code parsing (#589)

(cherry picked from commit 342292ca9f)
This commit is contained in:
zorun 2020-04-26 22:48:30 +02:00
parent b75cc65c2d
commit a6752067a6

View file

@ -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):