JohnSmith9982
commited on
Commit
•
a99af2d
1
Parent(s):
c67c8ad
Upload 39 files
Browse files- modules/config.py +1 -1
modules/config.py
CHANGED
@@ -33,7 +33,7 @@ else:
|
|
33 |
config = {}
|
34 |
|
35 |
lang_config = config.get("language", "auto")
|
36 |
-
language = os.environ.get("
|
37 |
|
38 |
if os.path.exists("api_key.txt"):
|
39 |
logging.info("检测到api_key.txt文件,正在进行迁移...")
|
|
|
33 |
config = {}
|
34 |
|
35 |
lang_config = config.get("language", "auto")
|
36 |
+
language = os.environ.get("LANGUAGE", lang_config)
|
37 |
|
38 |
if os.path.exists("api_key.txt"):
|
39 |
logging.info("检测到api_key.txt文件,正在进行迁移...")
|