From 1e1d7b1b77eba3021cb34167b6124e4191b1b8fc Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 16 Oct 2024 13:14:20 +0100 Subject: [PATCH] Debug --- maps.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/maps.py b/maps.py index 366ecb7a3..50424d759 100644 --- a/maps.py +++ b/maps.py @@ -430,13 +430,14 @@ def geocoords_from_map_link(url: str, osm_domain: str, session) -> (int, float, float): """Returns geocoordinates from a map link url """ - print('Debug: _geocoords_from_osmorg_go_link start') + print('Debug: _geocoords_from_osmorg_go_link start ' + url + + ' ' + osm_domain) if osm_domain in url: zoom, latitude, longitude = \ _geocoords_from_osm_link(url, osm_domain) return zoom, latitude, longitude if 'osm.org' in url and 'mlat=' not in url and '/go/' in url: - print('Debug: _geocoords_from_osmorg_go_link 0') + print('Debug: _geocoords_from_osmorg_go_link 0 ' + url) zoom, latitude, longitude = \ _geocoords_from_osmorg_go_link(url, session) return zoom, latitude, longitude