Skip to content

Commit

Permalink
judgeenv: properly specify a default in docker
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Riolku committed Mar 22, 2022
1 parent 9551b06 commit 11ac821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dmoj/judgeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def load_env(cli=False, testsuite=False): # pragma: no cover
with open('/judge-runtime-paths.yml', 'rb') as runtimes_file:
env.update(yaml.safe_load(runtimes_file))

problem_dirs = ['/problems']
env.problem_storage_root = ['/problems']

model_file = os.path.expanduser(args.config)
try:
Expand Down

0 comments on commit 11ac821

Please sign in to comment.