Fix neighborhood string formatting
Some checks failed
ci/woodpecker/pr/lint Pipeline was successful
ci/woodpecker/pr/vulnerability-scan Pipeline failed
ci/woodpecker/pull_request_closed/lint Pipeline was successful
ci/woodpecker/pull_request_closed/vulnerability-scan Pipeline failed

This commit is contained in:
Liam Steckler 2024-04-20 16:53:08 -07:00
parent 2a240a1f3f
commit ac10d50db2

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