Force string type for answer value.

This commit is contained in:
Mikaël Capelle 2024-12-08 14:34:04 +01:00
parent ce315b8778
commit 9d7ef94fa6

View File

@ -193,7 +193,7 @@ def main():
"answer", "answer",
{ {
"answer": i_answer + 1, "answer": i_answer + 1,
"value": answer, "value": str(answer),
"answerTime_s": (current - last).total_seconds(), "answerTime_s": (current - last).total_seconds(),
"totalTime_s": (current - start).total_seconds(), "totalTime_s": (current - start).total_seconds(),
}, },