We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75eefae commit 6ddf87eCopy full SHA for 6ddf87e
zeus/election.py
@@ -646,7 +646,7 @@ def get_results_pretty(self):
646
candidate_sums = 0
647
648
for candidate_count, candidate in results['candidate_counts']:
649
- cand_party, candidate = candidate.split(": ")
+ cand_party, candidate = candidate.split(": ", 1)
650
651
if candidate in candidates and cand_party == party:
652
candidate_sums += count
0 commit comments