refactoring

This commit is contained in:
Devaev Maxim 2019-06-08 06:46:02 +03:00
parent 67d62cd452
commit d2f9d12bc5

View File

@ -211,7 +211,7 @@ class Streamer: # pylint: disable=too-many-instance-attributes
async for line_bytes in self.__streamer_proc.stdout: # type: ignore
line = line_bytes.decode(errors="ignore").strip()
if line:
logger.info("Streamer: %s", line)
logger.info("Console: %s", line)
empty = 0
else:
empty += 1