统一语言环境变量

This commit is contained in:
wangsong 2022-08-04 09:43:11 +08:00
parent 5bb668111d
commit 2acc3ee4f6
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ if __name__ == "__main__":
#当不存在语言变量时 默认显示中文
if not "LANGUAGE" in os.environ:
os.environ["LANGUAGE"] = "zh_CN"
os.environ["LANGUAGE"] = "zh_CN.UTF-8"
#当不存在语言变量时 默认显示中文
if not "LANG" in os.environ: