Properly connect db.py init function to events.db
was connecting to "events"
This commit is contained in:
@@ -6,7 +6,7 @@ from cs50_final_project.helpers import create_db
|
||||
|
||||
|
||||
def db_init() -> None:
|
||||
db = sqlite3.connect("events")
|
||||
db = sqlite3.connect("events.db")
|
||||
|
||||
db.autocommit = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user