From 182b292bc158e8d8b2ca8bff6ea80f987c01b391 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Tue, 8 Nov 2022 22:43:58 +0100 Subject: [PATCH] Fix log message --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 9abbf4d..c9b444d 100644 --- a/app.py +++ b/app.py @@ -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 = [