Skip to content
Snippets Groups Projects
Commit d985e992 authored by Ryan Melvin's avatar Ryan Melvin
Browse files

connection close

parent 48d1e94d
No related branches found
No related tags found
1 merge request!2Docker db secrets
...@@ -174,10 +174,10 @@ with st.form(key="query_form"): ...@@ -174,10 +174,10 @@ with st.form(key="query_form"):
VALUES (?, ?, ?, ?) VALUES (?, ?, ?, ?)
""" """
current_time = datetime.datetime.now() current_time = datetime.datetime.now()
cursor.execute(query, (query, result.content, submit_time, response_time)) 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: 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("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) st.error(e)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment