Skip to content

Commit 9a48a46

Browse files
committed
fix default user
1 parent 14bbf39 commit 9a48a46

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/setup/sqlite.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ def setup_sqlite():
3434
create_all_tables()
3535
# create_user_tables()
3636

37-
if not UserTable.get_all():
37+
if not [u for u in UserTable.get_all()]:
3838
UserTable.insert_default_user()

0 commit comments

Comments
 (0)