We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55200dd commit 248ad73Copy full SHA for 248ad73
1 file changed
lib/engine_wrapper.py
@@ -54,7 +54,7 @@ def create_engine(engine_config: Configuration, game: model.Game | None = None)
54
for k, v in cfg.engine_options.items():
55
commands.append(f"--{k}={v}" if v is not None else f"--{k}")
56
57
- stderr = None if cfg.silence_stderr else subprocess.DEVNULL
+ stderr = subprocess.DEVNULL if cfg.silence_stderr else None
58
59
Engine: type[UCIEngine | XBoardEngine | MinimalEngine]
60
if engine_type == "xboard":
0 commit comments