Commit 7b0cbb77 authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Fix detecting language

parent 2410121d
......@@ -65,7 +65,7 @@ def initialize_lang():
if default is None:
# LC_ALL=C
return
LANG = LANG[:2]
LANG = default[:2]
except (ValueError, locale.Error):
pass
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment