mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
refactoring
This commit is contained in:
parent
67d62cd452
commit
d2f9d12bc5
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user