mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-10-28 23:21:16 +00:00
fix default user not created
- replace list comprehension with list()
This commit is contained in:
1 parent
9a48a46898
commit
989f2dfb5f
1 file changed
+1
-1
+1
-1
@@ -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()
|
||||
Reference in new issue
Block a user