Convert line to string before sending it to stdout/stderr.

This commit is contained in:
voussoir 2020-12-08 23:42:13 -08:00
parent 7969e38872
commit f2456faf62

View file

@ -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)