This commit is contained in:
rngsurrounded
2025-03-04 10:02:20 +09:00
+5 -5
View File
@@ -44,11 +44,11 @@ def analyze_data_task(self, submission_id):
result = response.json()
print(result)
submission.stdout = ContentFile(
bytes(result["output"]),
"output.txt",
)
submission.stdout.save()
# submission.stdout = ContentFile(
# bytes(result["output"]),
# "output.txt",
# )
# submission.stdout.save()
submission.result = {
"correct": result["hash_match"],
"hash_match": result["hash_match"],