Merge pull request 'webui: drop deadcode' (#405) from Mic92-main into main

This commit is contained in:
clan-bot
2023-10-04 16:20:23 +00:00
2 changed files with 2 additions and 100 deletions

View File

@@ -50,10 +50,11 @@ class Command:
for fd in rlist:
try:
for line in fd:
self.log.debug("stdout: %s", line)
if fd == self.p.stderr:
self.log.debug(f"[{cmd[0]}] stderr: {line}")
self.stderr.append(line)
else:
self.log.debug(f"[{cmd[0]}] stdout: {line}")
self.stdout.append(line)
self._output.put(line)
except BlockingIOError: