This commit is contained in:
Ross
2021-03-06 11:46:19 +00:00
parent 594588a800
commit 513b4a3fca
+4 -5
View File
@@ -541,15 +541,14 @@ def loadJsonAnswer(answer):
posted_answer = answer["ans"]
# qidn 1 does not hold answer data (but should always arrive prior to 2)
if answer["qidn"] == "1":
posted_answer = ""
# Normal answers are just posted with the answer "Normal"
normal = False
if posted_answer == "Normal":
normal = True
posted_answer = ""
# We can ignore the first ab
#elif answer["qidn"] == "1" and posted_answer == "Abnormal":
# return False
if not exiting_answers:
ans = CidUserAnswer(answer=posted_answer, normal=normal, cid=answer["cid"])