From ea6d256b6dd3a64c97a3d1a7ad8af4f54726e8fb Mon Sep 17 00:00:00 2001 From: ElementalAlchemist Date: Wed, 6 Nov 2024 23:38:51 -0600 Subject: [PATCH] Fix database access --- thrimshim/thrimshim/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thrimshim/thrimshim/main.py b/thrimshim/thrimshim/main.py index 99d6d9f..a90dd02 100644 --- a/thrimshim/thrimshim/main.py +++ b/thrimshim/thrimshim/main.py @@ -715,7 +715,7 @@ def update_template(name, artist=None): return message, code new_template = message - with app.db_manage.get_conn() as conn: + with app.db_manager.get_conn() as conn: #check if template is in database query = sql.SQL(""" SELECT name FROM templates WHERE name = %s