Fix #1248 - Deluge-console unicode support on redirected stdout

This commit is contained in:
Calum Lind 2011-02-08 17:01:37 +00:00
parent ce636ccd57
commit ad2b13eb2c
1 changed files with 1 additions and 1 deletions

View File

@ -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):
""" """