Fix detecting language
This commit is contained in:
parent
2410121ddb
commit
7b0cbb7763
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ def initialize_lang():
|
||||||
if default is None:
|
if default is None:
|
||||||
# LC_ALL=C
|
# LC_ALL=C
|
||||||
return
|
return
|
||||||
LANG = LANG[:2]
|
LANG = default[:2]
|
||||||
except (ValueError, locale.Error):
|
except (ValueError, locale.Error):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue