Module: deluge
Branch: master
Commit: fab1e8412d3e8ad8a3a913949f3dbf18a9f78199

Author: Nick Lanham <[email protected]>
Date:   Thu Feb 24 14:18:49 2011 +0100

encode string before write to specified encoding

---

 deluge/ui/console/main.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/deluge/ui/console/main.py b/deluge/ui/console/main.py
index 8114dbb..33f4d4e 100644
--- a/deluge/ui/console/main.py
+++ b/deluge/ui/console/main.py
@@ -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))

-- 
You received this message because you are subscribed to the Google Groups 
"deluge-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/deluge-commit?hl=en.

Reply via email to