Properly connect db.py init function to events.db

was connecting to "events"
This commit is contained in:
2026-11-16 21:02:29 +11:00
parent d57da6c604
commit a62da7298f
3 changed files with 1 additions and 1 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -6,7 +6,7 @@ from cs50_final_project.helpers import create_db
def db_init() -> None: def db_init() -> None:
db = sqlite3.connect("events") db = sqlite3.connect("events.db")
db.autocommit = True db.autocommit = True