mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-26 23:05:04 +08:00
使用yaml配置文件
This commit is contained in:
parent
170c83dbea
commit
6610603c0f
@ -95,7 +95,6 @@ else:
|
||||
logger.info("配置文件存在,正在读取")
|
||||
|
||||
if check_yaml_is_changed(source_template):
|
||||
yaml = YAML()
|
||||
logger.info("插件新的配置已更新, 正在更新")
|
||||
|
||||
with open(config_file_path, 'r', encoding="utf-8") as f:
|
||||
|
Loading…
Reference in New Issue
Block a user