summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/custom_rdate
diff options
context:
space:
mode:
authorTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-06 23:56:03 +0200
committerTimotej Lazar <timotej.lazar@fri.uni-lj.si>2018-10-07 01:55:26 +0200
commit9c51bbe5016495c714789f5df01806a6d366e11a (patch)
tree19be73e896838cfbe3e87b04bd63c9fdd930c27e /kpov_judge/tasks/custom_rdate
parente33085889f26c76587fdab2ad600ed336dc028b5 (diff)
Rename kpov_random_helpers to kpov_util
Diffstat (limited to 'kpov_judge/tasks/custom_rdate')
-rw-r--r--kpov_judge/tasks/custom_rdate/task.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kpov_judge/tasks/custom_rdate/task.py b/kpov_judge/tasks/custom_rdate/task.py
index b84a2b7..51f5baa 100644
--- a/kpov_judge/tasks/custom_rdate/task.py
+++ b/kpov_judge/tasks/custom_rdate/task.py
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
-# kpov_random_helpers should be imported by add_assignment.py
+# kpov_util should be imported by add_assignment.py
# TODO: finish this!
instructions = {
'si':"""
@@ -116,7 +116,7 @@ def gen_params(user_id, params_meta):
import datetime
params = dict()
r = random.Random(user_id)
- params['PROGRAM_FILENAME'] = kpov_random_helpers.fname_gen(r, False)
+ params['PROGRAM_FILENAME'] = kpov_util.fname_gen(r, False)
params['RDATE_OFFSET'] = str(r.randint(-2**24, 2**24))
return params