summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/isc_dhcp_live_boot
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/isc_dhcp_live_boot')
-rw-r--r--kpov_judge/tasks/isc_dhcp_live_boot/task.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/tasks/isc_dhcp_live_boot/task.py b/kpov_judge/tasks/isc_dhcp_live_boot/task.py
index 60616e5..6ff299a 100644
--- a/kpov_judge/tasks/isc_dhcp_live_boot/task.py
+++ b/kpov_judge/tasks/isc_dhcp_live_boot/task.py
@@ -160,8 +160,8 @@ def task_check(results, params):
#TASK4: SimpleArbaiter IP_B
if re.search(r'eth0 +802-.*connected', results['static_nmcli']):
score += 2
- if results['NoNameATM'].find('NoFormatATM'.format(params['NoNameAtm]))> -1:
- score +=2
+ if results['NoNameATM'].find('NoFormatATM'.format(params['NoNameAtm'])) > -1:
+ score +=2
#Same pattern for other tasks
return score