From 7caf4b21d6b5e52e912f1ad6a0e7e5ea9dc9fa7d Mon Sep 17 00:00:00 2001 From: NewAgeAirbender <34139325+NewAgeAirbender@users.noreply.github.com> Date: Sun, 7 Apr 2024 07:45:02 -0500 Subject: [PATCH] HI: add bill id to dedupe --- scrapers/hi/bills.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapers/hi/bills.py b/scrapers/hi/bills.py index 3226a7c52c..f640460851 100644 --- a/scrapers/hi/bills.py +++ b/scrapers/hi/bills.py @@ -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)