mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 19:44:52 +00:00
encode string before write to specified encoding
This commit is contained in:
parent
1cce30393b
commit
fab1e8412d
1 changed files with 1 additions and 1 deletions
|
@ -339,4 +339,4 @@ Please use commands from the command line, eg:\n
|
|||
if self.interactive:
|
||||
self.events.append(s)
|
||||
else:
|
||||
print colors.strip_colors(s)
|
||||
print colors.strip_colors(s.encode(self.encoding))
|
||||
|
|
Loading…
Add table
Reference in a new issue