jp (std output): force unicode on simple output

This commit is contained in:
Goffi 2017-03-12 23:29:09 +01:00
commit 48a5f1f4c7

View file

@ -39,7 +39,7 @@ class Simple(object):
host.register_output(C.OUTPUT_COMPLEX, SIMPLE, self.simple_print)
def simple_print(self, data):
self.host.disp(data)
self.host.disp(unicode(data))
def list(self, data):
self.host.disp(u'\n'.join(data))