oh unicode.

workspace
Brendan Howell 7 years ago
parent 54f117d330
commit 399ba17d24

@ -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)

Loading…
Cancel
Save