Fix #1248 - Deluge-console unicode support on redirected stdout
This commit is contained in:
parent
ce636ccd57
commit
ad2b13eb2c
|
@ -278,7 +278,7 @@ Please use commands from the command line, eg:\n
|
||||||
if self.interactive:
|
if self.interactive:
|
||||||
self.screen.add_line(line, not self.batch_write)
|
self.screen.add_line(line, not self.batch_write)
|
||||||
else:
|
else:
|
||||||
print(colors.strip_colors(line))
|
print(colors.strip_colors(line.encode("utf-8")))
|
||||||
|
|
||||||
def do_command(self, cmd):
|
def do_command(self, cmd):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue