From a10435e101105c38f3876b15e5aafcf8b2ad53e2 Mon Sep 17 00:00:00 2001 From: Seb Harrington Date: Sat, 20 Apr 2024 21:45:56 +0100 Subject: [PATCH] Get the Lon/Lat fields correct in the comments too.. --- netbox_device_map/helpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_device_map/helpers.py b/netbox_device_map/helpers.py index a3869a7..b85db72 100644 --- a/netbox_device_map/helpers.py +++ b/netbox_device_map/helpers.py @@ -14,7 +14,7 @@ LatLon = tuple[float, float] def get_device_location(device: Device) -> LatLon | None: - """If netbox longitude and latitude fields are populated for a device then use them.""" + """If netbox latitude and longitude fields are populated for a device then use them.""" if device.latitude and device.longitude: return (device.latitude, device.longitude) """... Otherwise extract device geolocation from special custom field"""