summaryrefslogtreecommitdiff
path: root/kpov_judge/test_task.py
diff options
context:
space:
mode:
authorgasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-03-27 15:03:51 +0000
committergasperfele@fri1.uni-lj.si <gasperfele@fri1.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-03-27 15:03:51 +0000
commit1e34a2217cba99f8847732c17da8f7be4dd09649 (patch)
tree792ca6c76f2a55e05d7891b5cb9de1f40c49a35a /kpov_judge/test_task.py
parentb836303b7f62b94b6fd6525ca7a753ef23102ce7 (diff)
Fixed test_task so it now works over the web
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@292 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/test_task.py')
-rwxr-xr-xkpov_judge/test_task.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/kpov_judge/test_task.py b/kpov_judge/test_task.py
index 6a8b22c..36fa910 100755
--- a/kpov_judge/test_task.py
+++ b/kpov_judge/test_task.py
@@ -48,7 +48,6 @@ def get_params_dialog(params, meta, param_name_list=None, dialog=None, language
init = ''
else:
init = params[name]
- print description, init
ret, s = dialog.inputbox(description, init=init)
if ret == 0:
if m.get('w', True):
@@ -110,7 +109,7 @@ def locate_task(params, argparser, dialog):
'username':{'descriptions': {'si': 'Uporabniško ime', 'en': 'Username'}, },
}
if params['task_url'] is not None and params['task_url'].startswith('http'):
- fetch_params_meta['password'] = {'descriptions': {'si': 'Geslo', 'en': 'Password'}, },
+ fetch_params_meta['password'] = {'descriptions': {'si': 'Geslo', 'en': 'Password'}, }
# and finally, the name of the task
fetch_params_meta['task_name'] = {'descriptions': {'si': 'Ime naloge', 'en': 'Task name'}, }
argparser = add_meta_to_argparser(argparser, meta = fetch_params_meta, defaults = params)