fix default user not created

- replace list comprehension with list()
This commit is contained in:
cwilvx
2025-03-02 15:49:53 +03:00
parent 9a48a46898
commit 989f2dfb5f
+1 -1
View File
@@ -34,5 +34,5 @@ def setup_sqlite():
create_all_tables()
# create_user_tables()
if not [u for u in UserTable.get_all()]:
if not list(UserTable.get_all()):
UserTable.insert_default_user()