test: hf debug for geoloc
Browse files
app/geolocalisation/js_geolocation.py
CHANGED
@@ -37,6 +37,7 @@ js_geocode = """
|
|
37 |
|
38 |
def display_location(location_json, individual):
|
39 |
geo_dict = json.loads(location_json)
|
|
|
40 |
latitude = geo_dict["latitude"]
|
41 |
longitude = geo_dict["longitude"]
|
42 |
geolocalisation = create_geolocalisation_object(latitude, longitude, "NA")
|
@@ -46,6 +47,7 @@ def display_location(location_json, individual):
|
|
46 |
visible=True,
|
47 |
show_label=False,
|
48 |
interactive=False)
|
|
|
49 |
return locationtext, individual
|
50 |
|
51 |
# def display_location(location_json):
|
|
|
37 |
|
38 |
def display_location(location_json, individual):
|
39 |
geo_dict = json.loads(location_json)
|
40 |
+
print(geo_dict)
|
41 |
latitude = geo_dict["latitude"]
|
42 |
longitude = geo_dict["longitude"]
|
43 |
geolocalisation = create_geolocalisation_object(latitude, longitude, "NA")
|
|
|
47 |
visible=True,
|
48 |
show_label=False,
|
49 |
interactive=False)
|
50 |
+
print("Done displaying location")
|
51 |
return locationtext, individual
|
52 |
|
53 |
# def display_location(location_json):
|