mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
fix default user not created
- replace list comprehension with list()
This commit is contained in:
+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