diff options
| author | Alex Schofield <git@ajschof.me> | 2026-04-27 22:02:40 +0100 |
|---|---|---|
| committer | Alex Schofield <git@ajschof.me> | 2026-04-27 22:02:40 +0100 |
| commit | 016b835dcd90e7dd4f7b4534d15376b6f6bd3e85 (patch) | |
| tree | 85fedebe9374898101cc6ee6cdf4e0e1e03e9ef9 /main.py | |
| parent | 43f4236822b7de75c5b390137cd56c93616b5f52 (diff) | |
| download | fuelnearme-016b835dcd90e7dd4f7b4534d15376b6f6bd3e85.tar.gz fuelnearme-016b835dcd90e7dd4f7b4534d15376b6f6bd3e85.zip | |
fix typo in raise statement in get_location()
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |
