a
This commit is contained in:
@@ -71,7 +71,7 @@ def submit():
|
|||||||
|
|
||||||
@app.route("/submit-default", methods=["POST"])
|
@app.route("/submit-default", methods=["POST"])
|
||||||
def submit_default():
|
def submit_default():
|
||||||
time_value = request.form.get("time-select")
|
time_value = request.form.get("default-time")
|
||||||
conn = get_db_connection()
|
conn = get_db_connection()
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
if bool(pattern.match(time_value)) is not True:
|
if bool(pattern.match(time_value)) is not True:
|
||||||
|
|||||||
Reference in New Issue
Block a user