小更新

This commit is contained in:
MasonLiu committed 2026-05-20 01:16:44 +08:00
1 parent 514a0131c9
commit 1135e05b7b
5 files changed
+22 -11

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ def get_core_config():
debug = config.get('debug', 'False') # 使用 get 方法提供默认值
if str(debug).lower() == "true": # 统一转换为小写进行比较
logger.debug("Debug mode is on")
logger.debug(f"Loaded config: {config}") # 输出加载的配置
# logger.debug(f"Loaded config: {config}") # 输出加载的配置,可能导致密钥泄露,请勿取消注释
time_choice = int(f"{config['time_mode']}")
choice = config['mode'] # 假设 mode 是一个列表