From 88f1f43a31f2514abd214b335d6be89921255751 Mon Sep 17 00:00:00 2001 From: MuslemRahimi Date: Mon, 24 Feb 2025 01:05:33 +0100 Subject: [PATCH] bugfixing --- app/cron_potus_tracker.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/cron_potus_tracker.py b/app/cron_potus_tracker.py index 8182d6e..a6f6672 100644 --- a/app/cron_potus_tracker.py +++ b/app/cron_potus_tracker.py @@ -243,7 +243,9 @@ async def get_data(): details = data[0]['details'] location = data[0]['location'] - + city = None + longitude = None + latitude = None for address in [details, location]: try: if any(place in address for place in ["Oval Office","White House", "Blair House","Washington DC", "East Room"]):