Convert line to string before sending it to stdout/stderr.
This commit is contained in:
parent
7969e38872
commit
f2456faf62
1 changed files with 1 additions and 0 deletions
|
@ -132,6 +132,7 @@ def input(
|
|||
yield line
|
||||
|
||||
def _output(stream, line, end):
|
||||
line = str(line)
|
||||
stream.write(line)
|
||||
if not line.endswith(end):
|
||||
stream.write(end)
|
||||
|
|
Loading…
Reference in a new issue