feat: 配置项目的热修改

This commit is contained in:
远野千束 2024-03-29 16:02:22 +08:00
parent a5f9247b32
commit d20699ee0f
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,7 @@
language.name=简体中文(轻雪版)
log.debug=调试中
log.info=信息
log.info=信息
log.warning=有问题
log.error=出错辣
log.success=成功啦

View File

@ -9,7 +9,6 @@ from liteyuki.utils.liteyuki_api import liteyuki_api
init()
store_config: dict = common_db.first(StoredConfig(), default=StoredConfig()).config
print("Stored config loaded.", store_config)
static_config = load_from_yaml("config.yml")
store_config.update(static_config)