Skip to content
Snippets Groups Projects
Commit 2e9f1abb authored by Eugenio Pignataro's avatar Eugenio Pignataro
Browse files

Fix Batch Maker for folders with spaces

parent b410a70f
No related branches found
No related tags found
No related merge requests found
......@@ -27,9 +27,9 @@ def batchMaker(BIN):
with open(SHFILE, "w") as FILE:
if not BIN:
FILE.writelines("%s -b %s --python-text Text -a" % (bpy.app.binary_path,bpy.data.filepath))
FILE.writelines(r"'%s' -b '%s' --python-text Text -a" % (bpy.app.binary_path,bpy.data.filepath))
else:
FILE.writelines("blender -b %s --python-text Text -a" % (bpy.data.filepath))
FILE.writelines(r"blender -b '%s' --python-text Text -a" % (bpy.data.filepath))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment