fix unicode error in console msg
@@ -22,6 +22,7 @@ class ApiConsole(object):
self.verify = False
def collect(self, line, show=False):
+ line = line.encode("utf-8")
if self.enable_logging:
sys.stdout.write(line)
sys.stdout.flush()
