a
This commit is contained in:
@@ -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,))
|
||||
|
||||
Reference in New Issue
Block a user