diff --git a/server/src/data/app.py b/server/src/data/app.py index a53b6a6..4d1eb9b 100644 --- a/server/src/data/app.py +++ b/server/src/data/app.py @@ -51,7 +51,7 @@ def submit(): conn.close() return redirect(url_for("mainpage")) cursor.execute( - "INSERT INTO items (name, time, noshutdown) VALUES (?, ?)", + "INSERT INTO items (name, time, noshutdown) VALUES (?, ?, ?)", (value, time_value, noshutdown) ) conn.commit() diff --git a/server/src/data/templates/index.html b/server/src/data/templates/index.html index bddbb20..2e61d56 100644 --- a/server/src/data/templates/index.html +++ b/server/src/data/templates/index.html @@ -66,7 +66,7 @@