From d486aa73e0c9513aecc54dd3ad3a90751e6948b3 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 6 Oct 2024 01:56:57 -0700 Subject: [PATCH] Update locationdata.py --- modules/locationdata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/locationdata.py b/modules/locationdata.py index 1c0332b..11344c2 100644 --- a/modules/locationdata.py +++ b/modules/locationdata.py @@ -37,7 +37,7 @@ def where_am_i(lat=0, lon=0, short=False): address = location.raw['address'] address_components = ['city', 'state', 'postcode', 'county', 'country'] whereIam += ' '.join([address.get(component, '') for component in address_components if component in address]) - whereIam += " Grid: " + grid + whereIam += " .Grid: " + grid else: location = geolocator.reverse(lat + ", " + lon) address = location.raw['address']