final
All checks were successful
Build Docker / deploy (push) Successful in 39s
Build Docker / build (push) Successful in 28s

This commit is contained in:
2026-03-07 01:01:28 +03:00
parent 10fdda3ec1
commit 518ba194ae
3 changed files with 37 additions and 2 deletions

2
run.py
View File

@@ -35,7 +35,7 @@ async def arguments(args):
"surname": args.user_name,
"admin": True
}
users = await list_users() or []
users = await list_users()
label = any(u.admin for u in users)
if not label:
await create_user(UserCreate(**admin_user))