fix encoding error
This commit is contained in:
parent
39bfdade27
commit
3bd2322b48
1 changed files with 1 additions and 1 deletions
|
|
@ -395,7 +395,7 @@ class Boobathon(ReplApplication):
|
||||||
# there are more tasks, don't stop now
|
# there are more tasks, don't stop now
|
||||||
stop = False
|
stop = False
|
||||||
if i == -2:
|
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:
|
elif i == -1:
|
||||||
sys.stdout.write(' %s%-20s%s' % (self.BOLD, '-' * len(mem.shortname()), self.NC))
|
sys.stdout.write(' %s%-20s%s' % (self.BOLD, '-' * len(mem.shortname()), self.NC))
|
||||||
elif len(mem.tasks) <= (i/2):
|
elif len(mem.tasks) <= (i/2):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue