From 945be64de48549eb1d30d418f5fcb273e00b9e81 Mon Sep 17 00:00:00 2001 From: gwen Date: Tue, 3 Oct 2023 20:37:30 +0200 Subject: [PATCH] typo --- app/routes.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/routes.py b/app/routes.py index 6e650e3..f7bf64a 100644 --- a/app/routes.py +++ b/app/routes.py @@ -181,14 +181,15 @@ def acte(house=None, prince=None, dateitem=None): @main.route("/geolocalisation", methods=('GET', 'POST')) def geolocalisation(): + "global folium/leaflet map" if request.method == 'POST': search = request.form['search'] return render_template("plainsearch.html", search=search, actes=plaintext_response(search, actecol, prince_bigram)) - "global folium/leaflet map" m = folium.Map(location=[46.603354, 1.888334], zoom_start=6) + for result in actecol.find(): place = result['place'] name = place['name']