mirror of
https://git.deluge-torrent.org/deluge
synced 2025-09-10 20:15:38 +00:00
[Console] Fix adding non-ascii torrent in non-interactive mode
This commit is contained in:
parent
cf437b6a33
commit
0a74812eeb
1 changed files with 1 additions and 1 deletions
|
@ -289,7 +289,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.encode("utf-8"))
|
print colors.strip_colors(deluge.common.utf8_encoded(line))
|
||||||
|
|
||||||
def do_command(self, cmd):
|
def do_command(self, cmd):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue