<type>(scope): <description>

[body]

[footer(s)]
This commit is contained in:
ITQ
2025-03-04 01:36:30 +03:00
parent 2bc5f7c45f
commit bb1e08dba6
+1 -1
View File
@@ -35,7 +35,7 @@ def analyze_data_task(self, submission_id):
"code": base64.b64encode(code).decode("utf-8"), "code": base64.b64encode(code).decode("utf-8"),
"answer_file_path": submission.task.answer_file_path, "answer_file_path": submission.task.answer_file_path,
"expected_hash": hashlib.sha256( "expected_hash": hashlib.sha256(
submission.task.correct_answer_file.read() submission.task.correct_answer_file.read().decode("utf-8")
).hexdigest(), ).hexdigest(),
}, },
timeout=30, timeout=30,