From 2c8a1ad3addbea6209116cf6588b7cf0b6665ae0 Mon Sep 17 00:00:00 2001 From: Iamjava Date: Mon, 21 Oct 2024 15:37:38 +0200 Subject: [PATCH] default for driver set --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 625dfe7..4e9657b 100644 --- a/app.py +++ b/app.py @@ -189,7 +189,7 @@ def page(name): def get_sqlite_db(): if 'db' not in g: - g.db = sqlite3.connect('data.db') + g.db = sqlite3.connect(DATAFILE) g.db.row_factory = sqlite3.Row g.db.execute( "CREATE TABLE IF NOT EXISTS recipes (id text PRIMARY KEY, title text NOT NULL, ingredients text, prep text, tags text, cvss real)")