Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions dotaservice/dotaservice.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,7 @@ async def _run_dota(self):
if self.host_mode == HOST_MODE_GUI_MENU:
args.extend(['+sv_lan', '0'])

# Supress stdout if the logger level is info.
stdout = None if logger.level == 'INFO' else asyncio.subprocess.PIPE

create = asyncio.create_subprocess_exec(
*args,
stdin=asyncio.subprocess.PIPE, stdout=stdout, stderr=stdout,
)
create = asyncio.create_subprocess_exec(*args, stdin=asyncio.subprocess.PIPE)
self.process = await create

task_monitor_log = asyncio.create_task(self.monitor_log())
Expand Down