Fix log message

This commit is contained in:
Peter J. Holzer 2022-11-08 22:43:58 +01:00
parent 6edca66f7e
commit 182b292bc1
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -311,7 +311,7 @@ def runoff(ballots):
result = sorted(count.keys(), key=lambda i: count[i])
log.debug("result of this round:")
for r in result:
log.debug(r, count[r])
log.debug("%s %s", r, count[r])
log.debug("striking %d", result[0])
loser = candidates[result[0]]
new_ballots = [