From 62f89ae78e723fb04dad742e8cc0a12bb43686d1 Mon Sep 17 00:00:00 2001 From: "theo@manjaro" Date: Fri, 3 Dec 2021 02:21:05 +0100 Subject: [PATCH] Fix de la page principale --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 0efcc12..fd87903 100644 --- a/app.py +++ b/app.py @@ -9,8 +9,9 @@ app = Flask(__name__) @app.route('/home/', methods=['GET', 'POST']) def main(): if request.method == 'GET': - print(request) + return pages.main() else: + print(request) return pages.main() @app.route('/sauveteurs/')