py3: TypeError: a bytes-like object is required, not 'str'

This commit is contained in:
dessant 2015-12-26 12:09:45 +02:00
parent 984ba6bbe2
commit 09607b8ffa
1 changed files with 1 additions and 1 deletions

View File

@ -304,7 +304,7 @@ def _check_and_fix_sdl2_mixer(f_path):
rpath_from, rpath_to, smpeg2_path))
output = getoutput(("otool -L '{}'").format(smpeg2_path))
if "@executable_path" not in output:
if b"@executable_path" not in output:
print("WARNING: Change successfully applied!")
print("WARNING: You'll never see this message again.")
else: