Skip to content

Commit bbb0e67

Browse files
author
qwe7002
committed
移除对系统语言环境的识别
1 parent e8c29a8 commit bbb0e67

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

manage.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@
1919
if (result_code >> 8) == 127:
2020
print("Please install docker or upgrade the current docker image and try again.")
2121
exit(result_code)
22-
lang = None
23-
if "LANG" in os.environ:
24-
if "UTF-8" not in os.environ["LANG"] and "UTF.8" not in os.environ["LANG"]:
25-
lang = os.environ["LANG"]
26-
if lang is not None:
27-
print("The current locale is: {} .Some characters may not be displayed and processed.".format(lang))
28-
input("Press enter to continue.")
2922
if __name__ == '__main__':
3023
from manage import menu
3124
if not os.path.exists("./config/page.json") or not os.path.exists("./config/menu.json"):

0 commit comments

Comments
 (0)