Commit 7dc1eb79 authored by Kliment Yanev's avatar Kliment Yanev

Allow unicode strings to be printed to console

parent ef1436bf
...@@ -47,7 +47,7 @@ class Tee(object): ...@@ -47,7 +47,7 @@ class Tee(object):
sys.stdout = self.stdout sys.stdout = self.stdout
def write(self, data): def write(self, data):
self.target(data) self.target(data)
self.stdout.write(data) self.stdout.write(data.encode("utf-8"))
def flush(self): def flush(self):
self.stdout.flush() self.stdout.flush()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment