From 3bd2322b48d242accdb2ecbce42aa34e4291ecd6 Mon Sep 17 00:00:00 2001 From: Romain Bignon Date: Sat, 9 Apr 2011 16:04:46 +0200 Subject: [PATCH] fix encoding error --- weboob/applications/boobathon/boobathon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weboob/applications/boobathon/boobathon.py b/weboob/applications/boobathon/boobathon.py index 4a3ffc80..98d1c0fc 100644 --- a/weboob/applications/boobathon/boobathon.py +++ b/weboob/applications/boobathon/boobathon.py @@ -395,7 +395,7 @@ class Boobathon(ReplApplication): # there are more tasks, don't stop now stop = False if i == -2: - sys.stdout.write(' %s%-20s%s' % (self.BOLD, mem.shortname(), self.NC)) + sys.stdout.write(' %s%-20s%s' % (self.BOLD, mem.shortname().encode('utf-8'), self.NC)) elif i == -1: sys.stdout.write(' %s%-20s%s' % (self.BOLD, '-' * len(mem.shortname()), self.NC)) elif len(mem.tasks) <= (i/2):