From 1e34a2217cba99f8847732c17da8f7be4dd09649 Mon Sep 17 00:00:00 2001 From: "gasperfele@fri1.uni-lj.si" Date: Fri, 27 Mar 2015 15:03:51 +0000 Subject: 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 --- kpov_judge/test_task.py | 3 +-- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.1