From 01367d21f6c09fb8e9df35b71797ceebc4389c3e Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 2 Jan 2019 16:26:16 +0100 Subject: [PATCH] fix bytes vs. str issue on macOS --- src/Mod/OpenSCAD/OpenSCADUtils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/OpenSCAD/OpenSCADUtils.py b/src/Mod/OpenSCAD/OpenSCADUtils.py index 5c11e6060f..8f7b50455f 100644 --- a/src/Mod/OpenSCAD/OpenSCADUtils.py +++ b/src/Mod/OpenSCAD/OpenSCADUtils.py @@ -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')