mirror of
https://github.com/langbot-app/LangBot.git
synced 2025-11-25 19:37:36 +08:00
fix: 热重载后未检查配置文件存在性
This commit is contained in:
@@ -47,6 +47,9 @@ def reload_all(notify=True):
|
||||
import plugins
|
||||
walk(plugins)
|
||||
|
||||
# 初始化相关文件
|
||||
main.check_file()
|
||||
|
||||
# 执行启动流程
|
||||
logging.info("执行程序启动流程")
|
||||
main.load_config()
|
||||
|
||||
Reference in New Issue
Block a user