Skip to content

Commit

Permalink
Cannot mix bytes and nonbytes literals in OpenSCADUtils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored and wwmayer committed Jan 3, 2019
1 parent 8527b02 commit f1c6c54
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Mod/OpenSCAD/OpenSCADUtils.py
Expand Up @@ -70,9 +70,9 @@ def searchforopenscadexe():
return testpath
elif sys.platform == 'darwin':
ascript = (b'tell application "Finder"\n'
'POSIX path of (application file id "org.openscad.OpenSCAD"'
'as alias)\n'
'end tell')
b'POSIX path of (application file id "org.openscad.OpenSCAD"'
b'as alias)\n'
b'end tell')
p1=subprocess.Popen(['osascript','-'],stdin=subprocess.PIPE,\
stdout=subprocess.PIPE,stderr=subprocess.PIPE)
stdout,stderr = p1.communicate(ascript)
Expand Down

0 comments on commit f1c6c54

Please sign in to comment.