Most dependencies updated, mostly tested

This commit is contained in:
Mawoka
2025-05-20 16:00:03 +02:00
parent 03e85f8586
commit f86832892d
7 changed files with 1246 additions and 1004 deletions
+1 -1
View File
@@ -275,7 +275,7 @@ async def voting_results(game_pin: str, api_key: str, as_array: bool = False):
answer_dict = {}
for answer in game.questions[game.current_question].answers:
answer_dict[answer.answer] = 0
for answer in answer_list.__root__:
for answer in answer_list:
answer_dict[answer.answer] += 1
if as_array:
return [answer_dict]