[Console] Fix adding non-ascii torrent in non-interactive mode

This commit is contained in:
Calum Lind 2015-10-28 12:43:41 +00:00
parent cf437b6a33
commit 0a74812eeb
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ Please use commands from the command line, eg:\n
if self.interactive:
self.screen.add_line(line, not self.batch_write)
else:
print colors.strip_colors(line.encode("utf-8"))
print colors.strip_colors(deluge.common.utf8_encoded(line))
def do_command(self, cmd):
"""