mirror of
https://github.com/clearml/wexpect-venv
synced 2025-02-12 07:38:23 +00:00
[FIX] Pipe console byte decode was missing
This commit is contained in:
parent
149ef50874
commit
a0b37ebf28
@ -516,7 +516,7 @@ class ConsoleReaderPipe(ConsoleReaderBase):
|
|||||||
if avail > 0:
|
if avail > 0:
|
||||||
resp = win32file.ReadFile(self.pipe, 4096)
|
resp = win32file.ReadFile(self.pipe, 4096)
|
||||||
ret = resp[1]
|
ret = resp[1]
|
||||||
return ret
|
return ret.decode()
|
||||||
else:
|
else:
|
||||||
return ''
|
return ''
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user