Skip to content

Commit 11ac821

Browse files
committed
judgeenv: properly specify a default in docker
What we probably want to do here is have a default when we are in docker. Right now, if the model_file exists, the default is completely ignored.
1 parent 9551b06 commit 11ac821

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dmoj/judgeenv.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def load_env(cli=False, testsuite=False): # pragma: no cover
171171
with open('/judge-runtime-paths.yml', 'rb') as runtimes_file:
172172
env.update(yaml.safe_load(runtimes_file))
173173

174-
problem_dirs = ['/problems']
174+
env.problem_storage_root = ['/problems']
175175

176176
model_file = os.path.expanduser(args.config)
177177
try:

0 commit comments

Comments
 (0)