1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-07 14:47:53 +00:00

build: unbreak __get_osslibdir__ on python3

Fixes #370
This commit is contained in:
Stefano Pigozzi 2013-11-26 15:53:33 +01:00
parent 6ead6aa005
commit 803ff1a283

View File

@ -87,7 +87,7 @@ def __get_osslibdir__():
p = Utils.subprocess.Popen(cmd, stdin=Utils.subprocess.PIPE,
stdout=Utils.subprocess.PIPE,
stderr=Utils.subprocess.PIPE)
return p.communicate()[0].rstrip()
return p.communicate()[0].decode().rstrip()
except Exception:
return ""