diff options
Diffstat (limited to 'kpov_judge/tasks')
-rw-r--r-- | kpov_judge/tasks/openvpn_simple_smb/task.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kpov_judge/tasks/openvpn_simple_smb/task.py b/kpov_judge/tasks/openvpn_simple_smb/task.py index 486ddef..59a73fe 100644 --- a/kpov_judge/tasks/openvpn_simple_smb/task.py +++ b/kpov_judge/tasks/openvpn_simple_smb/task.py @@ -259,8 +259,8 @@ def gen_params(user_id, params_meta): def task_check(results, params): import re - - score = -9 + #nastavil score na 0 iz -9 + score = 0 if results['NM_nslookup'].find('Server:\t\t{0}\r'.format(params['DNS_NM'])) > -1: score += 3 @@ -270,8 +270,8 @@ def task_check(results, params): score += 2 if not re.search(r'eth0 +802-.*connected', results['static_nmcli']): score += 2 - - score = 0 + # to stran + # score = 0 return score |