Only allow open org to show members

This commit is contained in:
cuom1999 2022-06-26 12:07:34 +07:00
parent 50afd6cd59
commit 0e324a3cce
7 changed files with 75 additions and 15 deletions

View file

@ -232,7 +232,9 @@ class ProblemDataCompiler(object):
if self.data.checker == "interact":
interactor_path = split_path_first(self.data.interactive_judge.name)
if len(interactor_path) != 2:
raise ProblemDataError(_("How did you corrupt the interactor path?"))
raise ProblemDataError(
_("How did you corrupt the interactor path?")
)
init["interactive"] = {
"files": interactor_path[1],
"feedback": True,