diff --git a/server/src/data/app.py b/server/src/data/app.py index 2493857..992754a 100644 --- a/server/src/data/app.py +++ b/server/src/data/app.py @@ -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,))