Skip to content

Commit

Permalink
AL: Bills: Skip new blank actions (openstates#4888)
Browse files Browse the repository at this point in the history
  • Loading branch information
showerst authored Mar 25, 2024
1 parent 45c5fba commit 2717777
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scrapers/al/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ def scrape_actions(self, bill, bill_row):

for row in page["data"]["instrumentHistoryBySessionYearInstNbr"]:
action_text = row["Matter"]

if action_text == "":
self.warning(f"Skipping blank action for {bill}")
continue

if row["Committee"]:
action_text = f'{row["Matter"]} ({row["Committee"]})'

Expand Down

0 comments on commit 2717777

Please sign in to comment.