Always set city from the geocoding #27

Merged
buckbanzai merged 5 commits from add-neighborhood-hashtag into main 2024-04-20 17:18:38 -07:00
Showing only changes of commit ac10d50db2 - Show all commits

2
scl.py
View file

@ -109,7 +109,7 @@ def get_hashtag_string(event) -> str:
try: try:
neighborhood = event["neighborhood"] neighborhood = event["neighborhood"]
if neighborhood != city: if neighborhood != city:
neighborhood_text = " #{}".format(neighborhood).title().replace(" ", "") neighborhood_text = " #{}".format(neighborhood.title().replace(" ", ""))
except KeyError: except KeyError:
pass pass