Mercurial > libervia-backend
changeset 2293:cbc989508474
jp (input/csv): fixed encoding issue in debug mode
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 30 Jun 2017 01:08:13 +0200 |
parents | bd4d8c73b1d3 |
children | 78048f002a3c |
files | frontends/src/jp/cmd_input.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/jp/cmd_input.py Fri Jun 30 00:54:37 2017 +0200 +++ b/frontends/src/jp/cmd_input.py Fri Jun 30 01:08:13 2017 +0200 @@ -140,9 +140,9 @@ self.disp(u'{indent}{prog} {static} {options} {positionals}'.format( indent = 4*u' ', prog=sys.argv[0], - static = ' '.join(self.args.command).encode('utf-8'), - options = u' '.join([o.encode('utf-8') for o in self._opts]), - positionals = u' '.join([p.encode('utf-8') for p in self._pos]) + static = ' '.join(self.args.command).decode('utf-8'), + options = u' '.join([o.decode('utf-8') for o in self._opts]), + positionals = u' '.join([p.decode('utf-8') for p in self._pos]) )) self.disp(u'\n') else: