summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/radius_mysql_pam
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge/tasks/radius_mysql_pam')
-rw-r--r--kpov_judge/tasks/radius_mysql_pam/task.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/kpov_judge/tasks/radius_mysql_pam/task.py b/kpov_judge/tasks/radius_mysql_pam/task.py
index 839090f..7dbfe8c 100644
--- a/kpov_judge/tasks/radius_mysql_pam/task.py
+++ b/kpov_judge/tasks/radius_mysql_pam/task.py
@@ -157,6 +157,7 @@ def task_check(results, params):
import re
import pickle
score = 0
+ hints = []
r = random.Random(params['MYSQL_SEED'])
MYSQL_TEST_USER = kpov_random_helpers.username_gen(r)
MYSQL_TEST_PASSWORD = kpov_random_helpers.alnum_gen(r, 7)
@@ -206,7 +207,7 @@ def task_check(results, params):
score += 1
else:
print (results['login_test'],s)
- return score
+ return score, hints
def prepare_disks(templates, params):
# d = templates['simpleArbiterDhcp']