Skip to content

Commit 28a7f87

Browse files
author
Michael Weibel
committed
v0.1.14 - fix mkdir
1 parent 00dfdb2 commit 28a7f87

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

helio_blender_addon/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
bl_info = {
2323
"name": "Helio Cloud Rendering",
2424
"blender": (3, 20, 0),
25-
"version": (0, 1, 13),
25+
"version": (0, 1, 14),
2626
"category": "Render",
2727
"tracker_url": "https://github.com/helio/blender-addon/issues"
2828
}

helio_blender_addon/addon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ def invoke(self, context, event):
248248
project_name = filename
249249
project_filepath = str(helio_dir.joinpath(project_name))
250250

251+
helio_dir.mkdir(parents=False, exist_ok=True)
252+
251253
self._log = logging.getLogger(filename)
252254
self._log.setLevel(log.getEffectiveLevel())
253255
log_file = project_filepath.replace('.blend', '.log')
@@ -260,7 +262,6 @@ def invoke(self, context, event):
260262
self._log.addHandler(fh)
261263
self._log.info("start new sync")
262264

263-
helio_dir.mkdir(parents=False, exist_ok=True)
264265
log.debug("created directory %s", helio_dir)
265266

266267
paths = bpy.utils.blend_paths(absolute=True, packed=True, local=False)

0 commit comments

Comments
 (0)