From 09607b8ffaf66fe5519e31d07b84bd6f43d60ab8 Mon Sep 17 00:00:00 2001 From: dessant Date: Sat, 26 Dec 2015 12:09:45 +0200 Subject: [PATCH] py3: TypeError: a bytes-like object is required, not 'str' --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 5cee80e9c..46e6ea80e 100644 --- a/setup.py +++ b/setup.py @@ -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: