a
This commit is contained in:
@@ -46,7 +46,7 @@ def submit():
|
|||||||
if noshutdown == 0 and not time_value:
|
if noshutdown == 0 and not time_value:
|
||||||
return redirect(url_for("mainpage"))
|
return redirect(url_for("mainpage"))
|
||||||
if noshutdown == 1:
|
if noshutdown == 1:
|
||||||
time_value = None
|
time_value = 'None'
|
||||||
conn = get_db_connection()
|
conn = get_db_connection()
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
cursor.execute('SELECT 1 FROM items WHERE name = ?', (value,))
|
cursor.execute('SELECT 1 FROM items WHERE name = ?', (value,))
|
||||||
|
|||||||
Reference in New Issue
Block a user