From 9d7ef94fa6528e39adc331eacb3796d8006091a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Sun, 8 Dec 2024 14:34:04 +0100 Subject: [PATCH] Force string type for answer value. --- src/holt59/aoc/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/holt59/aoc/__main__.py b/src/holt59/aoc/__main__.py index edf9b06..ff045e9 100644 --- a/src/holt59/aoc/__main__.py +++ b/src/holt59/aoc/__main__.py @@ -193,7 +193,7 @@ def main(): "answer", { "answer": i_answer + 1, - "value": answer, + "value": str(answer), "answerTime_s": (current - last).total_seconds(), "totalTime_s": (current - start).total_seconds(), },