Skip to content

Commit

Permalink
Update database.py
Browse files Browse the repository at this point in the history
  • Loading branch information
maggi373 committed Sep 5, 2024
1 parent 549327e commit dd6e8c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def is_setup() -> int:
except Exception as e:
ErrorPrinter.message("An error occurred whilst trying to check database setup", e)
return 2
table = cur.fetchone()
table = cur.fetchall()
print(table)
conn.close()
if table == None:
Expand Down

0 comments on commit dd6e8c9

Please sign in to comment.