There was an error while loading. Please reload this page.
1 parent 14bbf39 commit 9a48a46Copy full SHA for 9a48a46
1 file changed
app/setup/sqlite.py
@@ -34,5 +34,5 @@ def setup_sqlite():
34
create_all_tables()
35
# create_user_tables()
36
37
- if not UserTable.get_all():
+ if not [u for u in UserTable.get_all()]:
38
UserTable.insert_default_user()
0 commit comments