Cannot mix bytes and nonbytes literals in OpenSCADUtils.py
Fixes Travis test failure: https://travis-ci.org/FreeCAD/FreeCAD/jobs/474743289#L8528
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user