Skip to content

Commit

Permalink
bugfixing
Browse files Browse the repository at this point in the history
  • Loading branch information
MuslemRahimi committed Feb 24, 2025
1 parent 7742eae commit 88f1f43
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/cron_potus_tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]):
Expand Down

0 comments on commit 88f1f43

Please sign in to comment.