bugfixing
This commit is contained in:
parent
7742eae2be
commit
88f1f43a31
@ -243,7 +243,9 @@ async def get_data():
|
|||||||
details = data[0]['details']
|
details = data[0]['details']
|
||||||
location = data[0]['location']
|
location = data[0]['location']
|
||||||
|
|
||||||
|
city = None
|
||||||
|
longitude = None
|
||||||
|
latitude = None
|
||||||
for address in [details, location]:
|
for address in [details, location]:
|
||||||
try:
|
try:
|
||||||
if any(place in address for place in ["Oval Office","White House", "Blair House","Washington DC", "East Room"]):
|
if any(place in address for place in ["Oval Office","White House", "Blair House","Washington DC", "East Room"]):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user