diff --git a/flaskr/controllers/main_controller.py b/flaskr/controllers/main_controller.py index 601892c..d1e2f7f 100644 --- a/flaskr/controllers/main_controller.py +++ b/flaskr/controllers/main_controller.py @@ -775,8 +775,8 @@ def consult_estimation(public_id, extension): city['city'].encode(OUT_ENCODING), city['country'].encode(OUT_ENCODING), city['address'].encode(OUT_ENCODING), - city['latitude'], - city['longitude'], + city.get('latitude', 0.0), + city.get('longitude', 0.0), round(city['footprint'], 3), round(city['distance'], 3), city['plane_trips'], -- libgit2 0.21.2