fixbug:解决抢答和获取任务的问题
This commit is contained in:
@@ -241,7 +241,6 @@ def submit_answer(group_id, player_id, task_id, answer):
|
||||
# 调用内部方法校验答案
|
||||
answer_json = {"question": question, "top_score": str(top_score), "answer": answer}
|
||||
result = game_answer_json(answer_json)
|
||||
print(result)
|
||||
points = int(result["score"])
|
||||
description = result["description"]
|
||||
is_correct = points > 0
|
||||
|
||||
Reference in New Issue
Block a user