Skip to content

Commit

Permalink
Include '@id's with contests.
Browse files Browse the repository at this point in the history
Fixes BallotLab TrustTheVote-Project#86.
  • Loading branch information
ion-oset committed Aug 23, 2022
1 parent a262592 commit 4a27316
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/electos/ballotmaker/scripts/ballot-lab-data.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ def extract_candidate_contest(contest: CandidateContest, index):
if selection.is_write_in:
write_ins += 1
result = {
"id": contest.model__id,
"title": contest.name,
"type": "candidate",
"vote_type": contest.vote_variation.value,
Expand Down

0 comments on commit 4a27316

Please sign in to comment.