Fix detecting language

This commit is contained in:
Philipp Hörist 2018-05-21 21:49:19 +02:00
parent 2410121ddb
commit 7b0cbb7763
1 changed files with 1 additions and 1 deletions

View File

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