Module: deluge
Branch: 1.3-stable
Commit: 3794773e95c51ba81cf877211cdb162d9452afcd

Author: Calum Lind <[email protected]>
Date:   Tue Feb  8 17:01:37 2011 +0000

Fix #1248 - Deluge-console unicode support on redirected stdout

---

 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 e2e8988..0667ce0 100644
--- a/deluge/ui/console/main.py
+++ b/deluge/ui/console/main.py
@@ -275,7 +275,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))
+            print(colors.strip_colors(line.encode("utf-8")))
 
     def do_command(self, cmd):
         """

-- 
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