1
0
Fork 0
mirror of https://github.com/seanmorley15/AdventureLog.git synced 2025-07-21 22:09:36 +02:00

Refactor geocoding and integration handling: remove debug print, streamline reverse geocoding logic, and enhance integration response structure

This commit is contained in:
Sean Morley 2025-05-25 22:13:18 -04:00
parent c123231bab
commit e56335d30f
16 changed files with 95 additions and 46 deletions

View file

@ -166,7 +166,6 @@ def is_host_resolvable(hostname: str) -> bool:
def reverse_geocode(lat, lon, user):
if getattr(settings, 'GOOGLE_MAPS_API_KEY', None):
print("Using Google Maps API for reverse geocoding")
return reverse_geocode_google(lat, lon, user)
return reverse_geocode_osm(lat, lon, user)