From 5d933240edf39d6f598b8f5917fb71833adbff61 Mon Sep 17 00:00:00 2001 From: Michel Oosterhof Date: Mon, 3 Jul 2017 11:42:38 +0000 Subject: [PATCH] playlog Python3 compatible --- bin/playlog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/playlog b/bin/playlog index 76ae92f7..a8ed9e27 100755 --- a/bin/playlog +++ b/bin/playlog @@ -53,7 +53,7 @@ def playlog(fd, settings): prevtime = curtime if settings['colorify'] and color: sys.stdout.write(color) - sys.stdout.write(data) + sys.stdout.write(data.decode('UTF-8')) if settings['colorify'] and color: sys.stdout.write('\033[0m') color = None