a
This commit is contained in:
@@ -17,7 +17,6 @@ def submit():
|
||||
@app.route("/delete", methods=["POST"])
|
||||
def delete():
|
||||
value = request.form.get("item_name")
|
||||
time_value = request.form.get("item_time")
|
||||
if value in items:
|
||||
del items[value]
|
||||
return redirect(url_for("mainpage"))
|
||||
|
||||
Reference in New Issue
Block a user