Python3 compat fix

The setuptools really don't like bytes
This commit is contained in:
Florian Festi 2018-11-25 23:33:12 +01:00
parent fdc90ba20d
commit fb3cc589d9
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class CustomBuildExtCommand(build_py):
def run(self):
self.execute(self.buildInkscapeExt, ())
try:
path = check_output(["inkscape", "-x"]).strip()
path = check_output(["inkscape", "-x"]).decode().strip()
if not os.access(path, os.W_OK): # Can we install globaly
# Not tested on Windows and Mac
path = os.path.expanduser("~/.config/inkscape/extensions")