This commit is contained in:
2026-02-20 13:40:04 +00:00
parent 5063d78198
commit c08f81bd03
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ def submit():
value = request.form.get("query")
time_value = request.form.get("time")
noshutdown = request.form.get("noshutdown")
if not value or not time_value:
if not value or (not time_value or not noshutdown):
return redirect(url_for("mainpage"))
conn = get_db_connection()
cursor = conn.cursor()