diff options
| author | zorun <github@bitsofnetworks.org> | 2020-04-26 22:48:30 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-26 22:48:30 +0200 |
| commit | 342292ca9f080d2600edf07f28d1798ebe814559 (patch) | |
| tree | 09fc9adef346a339d257cf49581b3873265d6e0c /ihatemoney | |
| parent | d9dc38947c88f211f7deef2454f3a15251ed23d3 (diff) | |
| download | ihatemoney-mirror-342292ca9f080d2600edf07f28d1798ebe814559.zip ihatemoney-mirror-342292ca9f080d2600edf07f28d1798ebe814559.tar.gz ihatemoney-mirror-342292ca9f080d2600edf07f28d1798ebe814559.tar.bz2 | |
Fix language code parsing (#589)
Diffstat (limited to 'ihatemoney')
| -rw-r--r-- | ihatemoney/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ihatemoney/utils.py b/ihatemoney/utils.py index d8c887b..c8daa56 100644 --- a/ihatemoney/utils.py +++ b/ihatemoney/utils.py @@ -97,7 +97,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): |
