<type>(scope): <description>

[body]

[footer(s)]
This commit is contained in:
ITQ
2025-03-04 04:00:33 +03:00
parent 7e6da41558
commit b128a8c548
+5 -5
View File
@@ -44,11 +44,11 @@ def analyze_data_task(self, submission_id):
result = response.json() result = response.json()
print(result) print(result)
submission.stdout = ContentFile( # submission.stdout = ContentFile(
bytes(result["output"]), # bytes(result["output"]),
"output.txt", # "output.txt",
) # )
submission.stdout.save() # submission.stdout.save()
submission.result = { submission.result = {
"correct": result["hash_match"], "correct": result["hash_match"],
"hash_match": result["hash_match"], "hash_match": result["hash_match"],