Skip to content

Commit

Permalink
substitute in submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mzuenni committed Apr 12, 2024
1 parent ed52a12 commit a0c6317
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions bin/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def __init__(self, problem, path, deps=None, *, skip_double_build_warning=False)

self.ok = True
self.built = False
# True for all Prgrams, for now
self.substitute_constants = True

# Detect language, dependencies, and main file
Expand Down
1 change: 0 additions & 1 deletion bin/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,6 @@ class Submission(program.Program):

def __init__(self, problem, path, skip_double_build_warning=False):
super().__init__(problem, path, skip_double_build_warning=skip_double_build_warning)
self.substitute_constants = False

self.verdict = None
self.duration = None
Expand Down

0 comments on commit a0c6317

Please sign in to comment.