This commit is contained in:
Auriane Lartigue 2022-01-14 11:43:34 +01:00
parent 84048baecd
commit 8a979eb35b

View file

@ -87,7 +87,7 @@ def create_app():
@app.route('/lost/<string:id>', methods=['POST', 'GET']) @app.route('/lost/<string:id>/', methods=['POST', 'GET'])
def lost(id = "grille") : def lost(id = "grille") :
if request.method == "POST": if request.method == "POST":
if 'YES' in request.form: if 'YES' in request.form:
@ -111,7 +111,7 @@ def create_app():
return render_template('lost.html',img=id) return render_template('lost.html',img=id)
@app.route('/end/<string:id>', methods=['POST', 'GET']) @app.route('/end/<string:id>/', methods=['POST', 'GET'])
def end(id = "grille") : def end(id = "grille") :
if request.method == "POST": if request.method == "POST":
if 'YES' in request.form: if 'YES' in request.form: