summaryrefslogtreecommitdiff
path: root/kpov_judge/web
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/web')
-rwxr-xr-xkpov_judge/web/kpov_judge/kpov_judge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_judge/web/kpov_judge/kpov_judge.py b/kpov_judge/web/kpov_judge/kpov_judge.py
index 26d3b1d..d5669d8 100755
--- a/kpov_judge/web/kpov_judge/kpov_judge.py
+++ b/kpov_judge/web/kpov_judge/kpov_judge.py
@@ -72,7 +72,7 @@ def results_post(task_id, results):
task_check_code = compile(task_check_source, 'checker.py', 'exec')
exec(task_check_code)
# raise Exception(str(params))
- hints, res = task_check(results, params)
+ res, hints = task_check(results, params)
except Exception as e:
hints = ["Checker died: " + str(e)]
res = 0