mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-26 11:21:08 +00:00
encode string before write to specified encoding
This commit is contained in:
parent
1cce30393b
commit
fab1e8412d
@ -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…
x
Reference in New Issue
Block a user