Skip to content

Commit

Permalink
Election Day: Add strategy for expats in eCH.
Browse files Browse the repository at this point in the history
TYPE: Feature
LINK: OGC-1673
  • Loading branch information
Marc Sommerhalder committed Jul 1, 2024
1 parent 99f5f86 commit 693d436
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/onegov/election_day/formats/imports/election/ech.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,8 @@ def import_result_delivery(
assert circle.counting_circle_id is not None
entity_id = int(circle.counting_circle_id)
entity_id = 0 if entity_id in EXPATS else entity_id
if entity_id == 0:
election.has_expats = True
election_result = existing_election_results.get(entity_id)
if not election_result:
election_result = ElectionResult(
Expand Down

0 comments on commit 693d436

Please sign in to comment.