From f2456faf621baa73d8d5cf7e3d0d5e2a5696f271 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Tue, 8 Dec 2020 23:42:13 -0800 Subject: [PATCH] Convert line to string before sending it to stdout/stderr. --- voussoirkit/pipeable.py | 1 + 1 file changed, 1 insertion(+) diff --git a/voussoirkit/pipeable.py b/voussoirkit/pipeable.py index 54a4ee1..10915d2 100644 --- a/voussoirkit/pipeable.py +++ b/voussoirkit/pipeable.py @@ -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)