Skip to content

Commit

Permalink
Clean up method
Browse files Browse the repository at this point in the history
Removes redundant code and cleans up docstring.
  • Loading branch information
SimmonsRitchie committed Feb 6, 2024
1 parent 53577a0 commit 3bf78ce
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions city_scrapers/spiders/phipa_trb.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,7 @@ def _parse_title(self, item):
return item.get("summary") or ""

def _parse_description(self, item):
"""Parse meeting description. Description text for this
agency's Google Calendar tends to contain HTML so we convert
it to plain text."""
if "description" not in item:
return ""
"""Parse meeting description."""
return item.get("description") or ""

def _parse_datetime(self, datetime_dict):
Expand Down

0 comments on commit 3bf78ce

Please sign in to comment.