From 399ba17d2428c15f22795eb3c787cd72b008fe7e Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Sun, 11 Mar 2018 13:58:51 +0100 Subject: [PATCH] oh unicode. --- screenless/bureau/audio/audio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screenless/bureau/audio/audio.py b/screenless/bureau/audio/audio.py index 64c2a64..6d6574d 100644 --- a/screenless/bureau/audio/audio.py +++ b/screenless/bureau/audio/audio.py @@ -68,7 +68,7 @@ class Audio(Bureau): """ Prints the currently playing song or stream on the small printer. """ - out = subprocess.check_output(["mocp", "-i"]) + out = subprocess.check_output(["mocp", "-i"]).decode("utf-8") self.log.debug("info output:" + out) self.print_small(out)