summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/copy_rename_100_files
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-10-27 16:58:06 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-10-27 16:58:06 +0000
commit5bbc36ca551dfb1167469e9e24a000e53f7bc4d9 (patch)
treebcc4179f15320d146c05868df77c5e6c5bdb2c1f /kpov_judge/tasks/copy_rename_100_files
parenta30cb3c64da93b8667ad55213d850eadcbad7844 (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/tasks/copy_rename_100_files')
-rw-r--r--kpov_judge/tasks/copy_rename_100_files/task.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kpov_judge/tasks/copy_rename_100_files/task.py b/kpov_judge/tasks/copy_rename_100_files/task.py
index 1b8326b..457e57d 100644
--- a/kpov_judge/tasks/copy_rename_100_files/task.py
+++ b/kpov_judge/tasks/copy_rename_100_files/task.py
@@ -1,3 +1,6 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+#
# TODO:
# - check if everything is filled in (computers, params, preparation)
# - improve scoring
@@ -118,7 +121,7 @@ def task_check(results, params):
score += 4
else:
hints += ["wrong files"]
- return hints, score
+ return score, hints
def prepare_disks(templates, params):
pass