Skip to content

Commit

Permalink
Actually do thing
Browse files Browse the repository at this point in the history
  • Loading branch information
phildini committed Nov 6, 2020
1 parent ee44c7b commit a52623b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion print-battleground-state-changes
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ def html_summary(summary: IterationSummary):
<td>{summary.vote_differential:,}</td>
<td>{summary.votes_remaining:,}</td>
<td>{summary.new_votes:7,}</td>
<td><abbr title="{summary.precincts_reporting}/{summary.precincts_total}">{summary.precincts_reporting/summary.precincts_total:.1%}</abbr></td>
'''

if (summary.leading_candidate_partition):
Expand All @@ -219,7 +220,6 @@ def html_summary(summary: IterationSummary):
html += '<td>N/A</td>'

html += f'''
<td><abbr title="{summary.precincts_reporting}/{summary.precincts_total}">{summary.precincts_reporting/summary.precincts_total:.1%}</abbr></td>
<td>{summary.trailing_candidate_name} needs {summary.hurdle:.2%} [{summary.hurdle_change:.3%}]</td>
</tr>
'''
Expand Down

0 comments on commit a52623b

Please sign in to comment.