Spaces:
Runtime error
Runtime error
Commit
·
34dfd2a
1
Parent(s):
bfad8fc
quick fix
Browse files
app.py
CHANGED
|
@@ -144,6 +144,8 @@ if show_interventions:
|
|
| 144 |
date = row[interventions_df.columns[4]]
|
| 145 |
intervention_info = f"<b>Status:</b> {status}<br><b>Org:</b> {org}<br><b>Intervention:</b> {intervention_type}<br><b>📅 Date:</b> {date}"
|
| 146 |
print(f"intervention_info: {intervention_info}")
|
|
|
|
|
|
|
| 147 |
folium.Marker(
|
| 148 |
location=row["latlng"],
|
| 149 |
tooltip=city,
|
|
|
|
| 144 |
date = row[interventions_df.columns[4]]
|
| 145 |
intervention_info = f"<b>Status:</b> {status}<br><b>Org:</b> {org}<br><b>Intervention:</b> {intervention_type}<br><b>📅 Date:</b> {date}"
|
| 146 |
print(f"intervention_info: {intervention_info}")
|
| 147 |
+
if row["latlng"] is None:
|
| 148 |
+
continue
|
| 149 |
folium.Marker(
|
| 150 |
location=row["latlng"],
|
| 151 |
tooltip=city,
|