mirror of
https://gitlab.com/megazordpobeda/DataRush.git
synced 2026-05-22 23:17:09 +00:00
<type>(scope): <description>
[body] [footer(s)]
This commit is contained in:
@@ -15,6 +15,7 @@ def analyze_data_task(self, submission_id):
|
||||
submission = CompetitionTaskSubmission.objects.get(id=submission_id)
|
||||
try:
|
||||
code = submission.content.read()
|
||||
print("YA SSF")
|
||||
files = [
|
||||
{
|
||||
"url": (
|
||||
@@ -42,6 +43,7 @@ def analyze_data_task(self, submission_id):
|
||||
)
|
||||
response.raise_for_status()
|
||||
result = response.json()
|
||||
print("HOHOHO")
|
||||
|
||||
submission.stdout.save("output.txt", ContentFile(result["output"]))
|
||||
submission.result = {
|
||||
|
||||
Reference in New Issue
Block a user