Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugenio Pignataro <info@oscurart.com.ar>2019-01-10 13:47:07 +0300
committerEugenio Pignataro <info@oscurart.com.ar>2019-01-10 13:47:07 +0300
commit2e9f1abbe7dcee90d3d0b3ce9fc950da9f656fe2 (patch)
treec6ffe871cd3420fc7c17b85414bf6db3c652c20f /oscurart_tools/render
parentb410a70fa9ba09bf9c1091d87f38f0ed8dae4895 (diff)
Fix Batch Maker for folders with spaces
Diffstat (limited to 'oscurart_tools/render')
-rw-r--r--oscurart_tools/render/batch_maker.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oscurart_tools/render/batch_maker.py b/oscurart_tools/render/batch_maker.py
index 07c727d1..5dd007e3 100644
--- a/oscurart_tools/render/batch_maker.py
+++ b/oscurart_tools/render/batch_maker.py
@@ -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))