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:
Diffstat (limited to 'archipack/archipack_material.py')
-rw-r--r--archipack/archipack_material.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/archipack/archipack_material.py b/archipack/archipack_material.py
index 27aaefab..e363f304 100644
--- a/archipack/archipack_material.py
+++ b/archipack/archipack_material.py
@@ -231,9 +231,7 @@ class MaterialSetManager():
def get_filename(self, object_type):
target_path = os.path.join("presets", "archipack_materials")
- target_path = bpy.utils.user_resource('SCRIPTS',
- target_path,
- create=True)
+ target_path = bpy.utils.user_resource('SCRIPTS', path=target_path, create=True)
return os.path.join(target_path, object_type) + '.txt'
def cleanup(self):