Skip to content

Commit

Permalink
HI: add bill id to dedupe
Browse files Browse the repository at this point in the history
  • Loading branch information
NewAgeAirbender committed Apr 7, 2024
1 parent b0d6f5b commit 7caf4b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrapers/hi/bills.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def parse_bill_actions_table(
vote.set_count("yes", int(yays or 0))
vote.set_count("no", int(nays or 0))
vote.set_count("not voting", int(v["n_excused"] or 0))
vote.dedupe_key = string[:300]
vote.dedupe_key = f"{bill_id}#{date}#{string[:300]}"
for voter in split_specific_votes(v["yes"]):
voter = self.clean_voter_name(voter)
vote.yes(voter)
Expand Down

0 comments on commit 7caf4b2

Please sign in to comment.