fix bytes vs. str issue on macOS

This commit is contained in:
wmayer
2019-01-02 16:26:16 +01:00
parent ccf99f57c0
commit 01367d21f6

View File

@@ -69,7 +69,7 @@ def searchforopenscadexe():
if os.path.isfile(testpath):
return testpath
elif sys.platform == 'darwin':
ascript = ('tell application "Finder"\n'
ascript = (b'tell application "Finder"\n'
'POSIX path of (application file id "org.openscad.OpenSCAD"'
'as alias)\n'
'end tell')