From d985e9925ac0ac88594b981ee2ef4b690c066ffa Mon Sep 17 00:00:00 2001
From: Ryan Melvin <rmelvin@uabmc.edu>
Date: Mon, 8 May 2023 15:25:57 -0500
Subject: [PATCH] connection close

---
 app.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/app.py b/app.py
index 58ad440..8f26355 100644
--- a/app.py
+++ b/app.py
@@ -174,10 +174,10 @@ with st.form(key="query_form"):
                 VALUES (?, ?, ?, ?)
                 """
 
-            current_time = datetime.datetime.now()
-            cursor.execute(query, (query, result.content, submit_time, response_time))
+                current_time = datetime.datetime.now()
+                cursor.execute(query, (query, result.content, submit_time, response_time))
 
-            st.success("Your idea has been recorded and may be reviewed by the MPOG Steering Committee.")
+                st.success("Your idea has been recorded and may be reviewed by the MPOG Steering Committee.")
         except Exception as e:
             st.error("Something went wrong, and your idea was not recorded for review by the MPOG Steering Committee. Give the following message when asking for help from IT or Data Science:")
             st.error(e)
-- 
GitLab