Skip to content

Commit

Permalink
IN: check for long subject
Browse files Browse the repository at this point in the history
  • Loading branch information
NewAgeAirbender committed Sep 4, 2024
1 parent cd9efaf commit 79b0667
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scrapers/in/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,11 @@ def scrape(self, session=None):
# subjects
subjects = [s["entry"] for s in bill_json["latestVersion"]["subjects"]]
for subject in subjects:
subject = (
subject
if not subject.startswith("PENSIONS AND RETIREMENT BENEFITS")
else "PENSIONS AND RETIREMENT BENEFITS; Public Retirement System (INPRS)"
)
bill.add_subject(subject)

# Abstract
Expand Down

0 comments on commit 79b0667

Please sign in to comment.