From 05ecd5f86c0c5830261ea369c77d16a2163150ee Mon Sep 17 00:00:00 2001 From: nyx Date: Sat, 15 Mar 2025 01:20:56 -0500 Subject: [PATCH] forgot to commit to db :sob: --- app/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app.py b/app/app.py index 351fe1f..8beaef5 100644 --- a/app/app.py +++ b/app/app.py @@ -65,6 +65,7 @@ def home(): print("Ask: " + ask) db.execute(text("INSERT INTO asks (name, ask) VALUES (:name, :ask)"), {"name": name, "ask": ask}) + db.commit() print("Wrote to DB maybe") return redirect('/') return render_template('index.j2', instanceLocation=instanceLocation, instanceBranding=instanceBranding)