哈哈😄 被ignore了
This commit is contained in:
2
bot.py
2
bot.py
@@ -33,7 +33,7 @@ if not os.path.exists(".env"):
|
||||
if not os.path.exists(".env.prod"):
|
||||
logger.error("检测到.env.prod文件不存在")
|
||||
logger.info("请在.env.prod文件中至少填写SILICONFLOW_KEY变量后重新启动")
|
||||
shutil.copy("./.env.template", "./.env.prod")
|
||||
shutil.copy("template.env", "./.env.prod")
|
||||
|
||||
# 首先加载基础环境变量.env
|
||||
if os.path.exists(".env"):
|
||||
|
||||
Reference in New Issue
Block a user