BROKEN quick save

This commit is contained in:
Mawoka
2023-01-18 20:34:37 +01:00
parent 0f000987ca
commit 6788b32131
5 changed files with 128 additions and 25 deletions
+1
View File
@@ -322,6 +322,7 @@ async def submit_answer(sid: str, data: dict):
print(data.dict()["complex_answer"], correct_answers)
if correct_answers == data.dict()["complex_answer"]:
answer_right = True
# TODO Set data.answer to a real value for export
elif game_data.questions[int(float(data.question_index))].type == QuizQuestionType.TEXT:
answer_right = False