summaryrefslogtreecommitdiff
path: root/kpov_judge/test_task.py
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/test_task.py')
-rwxr-xr-xkpov_judge/test_task.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kpov_judge/test_task.py b/kpov_judge/test_task.py
index bf20f1f..33922d1 100755
--- a/kpov_judge/test_task.py
+++ b/kpov_judge/test_task.py
@@ -64,7 +64,7 @@ def add_meta_to_argparser(argparser, meta, defaults = {}):
desc = v['descriptions'][language].encode("utf-8")
except:
desc = k
- print("{} {}".format(desc, type(desc)))
+ # print("{} {}".format(desc, type(desc)))
argparser.add_argument('--'+k, nargs=1, help=desc, type=unicode, default=defaults.get(k, None))
return argparser
@@ -210,6 +210,7 @@ if __name__ == '__main__':
except Exception as e:
print("Error running task(...):")
print(e)
+ exit(1)
try:
result = task_check(task_result, task_params)
print result