diff --git a/qubesmgmt/tools/__init__.py b/qubesmgmt/tools/__init__.py index eaed808..1e06eff 100644 --- a/qubesmgmt/tools/__init__.py +++ b/qubesmgmt/tools/__init__.py @@ -474,7 +474,7 @@ def print_table(table, stream=None): stdout=subprocess.PIPE) p.stdin.write(text_table.encode()) (out, _) = p.communicate() - stream.write(out.decode()) + stream.write(str(out.decode())) else: p = subprocess.Popen(cmd, stdin=subprocess.PIPE) p.communicate(text_table.encode())