Fix related_problems
This commit is contained in:
parent
2cf386e8b5
commit
ad73e4cdf3
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ class ProblemDetail(
|
|||
else:
|
||||
context["fileio_input"] = None
|
||||
context["fileio_output"] = None
|
||||
if not self.in_contest:
|
||||
if not self.in_contest and settings.ML_OUTPUT_PATH:
|
||||
context["related_problems"] = get_related_problems(
|
||||
self.profile, self.object
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue