Mercurial > libervia-backend
changeset 2186:9061c7247964
jp (std output): force unicode on simple output
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 12 Mar 2017 23:29:09 +0100 |
parents | dd53d7a3219a |
children | 4ec72927a222 |
files | frontends/src/jp/output_std.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/jp/output_std.py Sun Mar 12 23:28:04 2017 +0100 +++ b/frontends/src/jp/output_std.py Sun Mar 12 23:29:09 2017 +0100 @@ -39,7 +39,7 @@ 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))