diff options
author | gasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2015-10-27 16:58:06 +0000 |
---|---|---|
committer | gasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414> | 2015-10-27 16:58:06 +0000 |
commit | 5bbc36ca551dfb1167469e9e24a000e53f7bc4d9 (patch) | |
tree | bcc4179f15320d146c05868df77c5e6c5bdb2c1f /kpov_judge/web | |
parent | a30cb3c64da93b8667ad55213d850eadcbad7844 (diff) |
fixed order of result, hints in web service
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@346 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/web')
-rwxr-xr-x | kpov_judge/web/kpov_judge/kpov_judge.py | 2 |
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 |