We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e08f55a commit 43f0f73Copy full SHA for 43f0f73
main.py
@@ -54,6 +54,7 @@
54
async def startup_event():
55
# 启动后台任务,不定时删除过期文件
56
asyncio.create_task(delete_expire_files())
57
+ # 读取用户配置
58
user_config, created = await KeyValue.get_or_create(key='settings', defaults={'value': DEFAULT_CONFIG})
59
settings.user_config = user_config.value
60
0 commit comments