Fix neighborhood string formatting
This commit is contained in:
parent
2a240a1f3f
commit
ac10d50db2
1 changed files with 1 additions and 1 deletions
2
scl.py
2
scl.py
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue