Fix detecting language
This commit is contained in:
parent
2410121ddb
commit
7b0cbb7763
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue