diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 03:32:16 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2018-10-13 03:32:16 +0200 |
commit | cc12d3b303e5d1a2e88073d0d6f7ff2f4210273f (patch) | |
tree | 78e33b44ba631bd832028f8706f6d478b85e3935 | |
parent | 64885ef1675f32cc3ce9d59aa0f6c31064338eec (diff) |
add_task: fix returned hints in online task_check
-rwxr-xr-x | kpov_judge/add_task.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kpov_judge/add_task.py b/kpov_judge/add_task.py index ea11c9c..aab5e46 100755 --- a/kpov_judge/add_task.py +++ b/kpov_judge/add_task.py @@ -21,7 +21,7 @@ def task_check(results, params): response_dict = json.loads(response.read().decode()) hints = response_dict.get('hints', []) hints = ['status: ' + response_dict.get('status', '')] + hints - return response_dict.get('result', 'No result'), "\n".join(hints) + return response_dict.get('result', 'No result'), hints uploading_task_check_source = inspect.getsource(task_check) |