diff --git a/app.py b/app.py index 58ad4409f8bc68680a5fcb80abd7bb652cad5a30..8f2635599ea487c6ef743e0a4c77133718ff5006 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)