This commit is contained in:
2026-02-20 14:55:12 +00:00
parent 0e8b558747
commit a1fc7a4b27

View File

@@ -44,7 +44,7 @@ def submit():
if noshutdown == 0 and not time_value:
return redirect(url_for("mainpage"))
if noshutdown == 1:
time_value = None
time_value = 'None'
conn = get_db_connection()
cursor = conn.cursor()
cursor.execute('SELECT 1 FROM items WHERE name = ?', (value,))