Add neighborhood hashtag #26

Merged
buckbanzai merged 3 commits from add-neighborhood-hashtag into main 2024-04-20 16:56:11 -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:
neighborhood = event["neighborhood"]
if neighborhood != city:
neighborhood_text = " #{}".format(neighborhood).title().replace(" ", "")
neighborhood_text = " #{}".format(neighborhood.title().replace(" ", ""))
except KeyError:
pass