aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.py2
1 files changed, 1 insertions, 1 deletions
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)
git.ajschof.me — hosted by ajschofield — powered by cgit