Skip to content

Commit

Permalink
SD: Events: Fix for event with no organizations (#5071)
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst authored Nov 4, 2024
1 parent 9954501 commit b709913
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scrapers/sd/events.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ def scrape_schedule_file(self):
if com_name is None or com_name == "":
com_name = row["InterimYearCommitteeName"]

# Some events, like the Governor's Budget Address have no com
if com_name is None or com_name == "":
com_name = row["Title"]

com = {"FullName": com_name}
location = row["Room"]
event = self.create_event(com, row, location)
Expand Down

0 comments on commit b709913

Please sign in to comment.