Skip to content

Commit 4b56fa6

Browse files
committed
hotfix(moderator): check for the right 10x10 flag names
1 parent 20452ae commit 4b56fa6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

othello/moderator/jailed_runners.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ def __init__(self, script_path: str) -> None:
2121
self.path = script_path
2222
self.strat, self.nargs = import_strategy(script_path)
2323
self.logging = getattr(self.strat, "logging", False)
24-
self.board_10x10 = getattr(self.strat, "use_10x10_board", False)
25-
self.moves_10x10 = getattr(self.strat, "use_10x10_moves", False)
24+
self.board_10x10 = getattr(self.strat, "uses_10x10_board", False)
25+
self.moves_10x10 = getattr(self.strat, "uses_10x10_moves", False)
2626

2727
def play_wrapper(self, *game_args: Any, pipe_to_parent: mp.Pipe) -> None:
2828
try:

0 commit comments

Comments
 (0)