From 016b835dcd90e7dd4f7b4534d15376b6f6bd3e85 Mon Sep 17 00:00:00 2001 From: Alex Schofield Date: Mon, 27 Apr 2026 22:02:40 +0100 Subject: fix typo in raise statement in get_location() --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index dd54d37..9d9217c 100644 --- a/main.py +++ b/main.py @@ -36,7 +36,7 @@ def get_location(address: str) -> tuple[float, float]: geolocator = Nominatim(user_agent="FuelNearMe") result = geolocator.geocode(address) if not isinstance(result, Location): - raise ValueError(f"Failed to get location from address: '{address}") + raise ValueError(f"Failed to get location from address: '{address}'") return (result.latitude, result.longitude) -- cgit v1.2.3