project/shved-SCRUM-110-hole-deleting #36

Merged
Vladislav merged 15 commits from project/shved-SCRUM-110-hole-deleting into dev 2026-03-27 20:18:00 +02:00
Showing only changes of commit 3bc39e011d - Show all commits

View File

@@ -111,12 +111,7 @@ class MapViewApp(App):
return next(flt)
def set_pothole_marker(self, point):
if isinstance(point, dict):
lat = point.get("lat")
lon = point.get("lon")
else:
lat, lon = point
lat, lon = get_lat_lon(point)
if lat is None or lon is None:
return