Skip to content

Commit ab49771

Browse files
committed
Fix 'bytes object has no attribute encode' in pipe-mode stdout reader
1 parent 4d820b4 commit ab49771

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ def _process_chunk(raw: bytes) -> None:
662662
pass
663663
else:
664664
for line in state.proc.stdout:
665-
_process_chunk(line.encode())
665+
_process_chunk(line)
666666
now = time.monotonic()
667667
if now - _last_update >= _UPDATE_INTERVAL:
668668
if buf:

0 commit comments

Comments
 (0)