summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/public_ip_ssh
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/public_ip_ssh')
-rw-r--r--kpov_judge/tasks/public_ip_ssh/task.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/kpov_judge/tasks/public_ip_ssh/task.py b/kpov_judge/tasks/public_ip_ssh/task.py
index fdbcc45..114d1b3 100644
--- a/kpov_judge/tasks/public_ip_ssh/task.py
+++ b/kpov_judge/tasks/public_ip_ssh/task.py
@@ -34,7 +34,7 @@ def gen_params(user_id, params_meta):
return kpov_random_helpers.default_gen(user_id, params_meta)
def task_check(results, params):
- import pxssh
+ from pexpect import pxssh
import pexpect
results = dict()
s = pxssh.pxssh()
@@ -46,6 +46,6 @@ def task_check(results, params):
return 0, [str(e)]
return 10, []
-def prepare_disks(templates, params):
- pass
+def prepare_disks(templates, task_params, global_params):
+ write_default_config(templates['Test'], global_params)
# print d1.ls('/')