From 0a36713487e97ff04bb7effa6d58c81df6f805d3 Mon Sep 17 00:00:00 2001 From: j Date: Sat, 3 Sep 2016 10:03:58 +0200 Subject: [PATCH] decode stdout --- pandora_client/extract.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pandora_client/extract.py b/pandora_client/extract.py index a609d6b..a4f36ba 100644 --- a/pandora_client/extract.py +++ b/pandora_client/extract.py @@ -70,6 +70,7 @@ def supported_formats(): p = subprocess.Popen([command('ffmpeg'), '-codecs'], stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout, stderr = p.communicate() + stdout = stdout.decode() return { # 'ogg': 'libtheora' in stdout and 'libvorbis' in stdout, 'webm': 'libvpx' in stdout and 'libvorbis' in stdout,