From: Guillaume Chazarain Date: Mon, 3 Sep 2012 20:58:08 +0000 (+0200) Subject: Here we print a string, not bytes. X-Git-Tag: iotop-0.6~24 X-Git-Url: https://repo.or.cz/w/iotop.git/commitdiff_plain/14437e37710bd93db31c2c268b403cc3c28ddeec Here we print a string, not bytes. --- diff --git a/iotop/ui.py b/iotop/ui.py index 8e36734..4eb92e0 100644 --- a/iotop/ui.py +++ b/iotop/ui.py @@ -436,7 +436,7 @@ class IOTopUI(object): if self.options.quiet <= int(first_time): print(''.join(titles)) for l in lines: - print(l.encode('utf-8')) + print(l) sys.stdout.flush() else: self.win.erase()