mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 22:07:10 +00:00
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
@@ -35,7 +35,7 @@ def analyze_data_task(self, submission_id):
|
||||
"code": base64.b64encode(code).decode("utf-8"),
|
||||
"answer_file_path": submission.task.answer_file_path,
|
||||
"expected_hash": hashlib.sha256(
|
||||
submission.task.correct_answer_file.read().decode("utf-8")
|
||||
submission.task.correct_answer_file.read()
|
||||
).hexdigest(),
|
||||
},
|
||||
timeout=30,
|
||||
|
||||
Reference in New Issue
Block a user