Skip to content

Commit 43f0f73

Browse files
committed
warning:更新需备份配置,已放弃env文件存储配置,会丢失旧配置
1 parent e08f55a commit 43f0f73

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
async def startup_event():
5555
# 启动后台任务,不定时删除过期文件
5656
asyncio.create_task(delete_expire_files())
57+
# 读取用户配置
5758
user_config, created = await KeyValue.get_or_create(key='settings', defaults={'value': DEFAULT_CONFIG})
5859
settings.user_config = user_config.value
5960

0 commit comments

Comments
 (0)