From a2c29efb41d82b9313ee07a347181c522528ecb6 Mon Sep 17 00:00:00 2001 From: Pliosauroidea Date: Thu, 13 Mar 2025 09:27:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=99=E8=AF=AF=E7=9A=84en?= =?UTF-8?q?vieonment=E8=AF=BB=E5=8F=96=E5=AF=BC=E8=87=B4=E7=9A=84debug?= =?UTF-8?q?=E8=BE=93=E5=87=BA=E6=8C=81=E7=BB=AD=E5=BC=80=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b5d210cc3..a3a844a15 100644 --- a/bot.py +++ b/bot.py @@ -102,7 +102,7 @@ def load_logger(): if not os.path.exists(log_path): os.makedirs(log_path) - current_env = os.getenv("ENV", "dev") + current_env = os.getenv("ENVIRONMENT", "dev") # 公共配置参数 log_level = os.getenv("LOG_LEVEL", "INFO" if current_env == "prod" else "DEBUG")