🐛 修复Config add配置时显示问题 (#1835)

This commit is contained in:
HibiKier
2025-01-16 09:13:28 +08:00
committed by GitHub
parent 63145ffee0
commit d0b1024566
2 changed files with 3 additions and 0 deletions
@@ -62,6 +62,7 @@ def _generate_simple_config(exists_module: list[str]):
# 读取用户配置
_data = {}
_tmp_data = {}
exists_module += Config.add_module
if SIMPLE_CONFIG_FILE.exists():
_data = _yaml.load(SIMPLE_CONFIG_FILE.open(encoding="utf8"))
# 将简易配置文件的数据填充到配置文件