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_preset.py')
-rw-r--r--archipack/archipack_preset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/archipack/archipack_preset.py b/archipack/archipack_preset.py
index fe4b9307..65ca7245 100644
--- a/archipack/archipack_preset.py
+++ b/archipack/archipack_preset.py
@@ -34,8 +34,8 @@ from .archipack_gl import (
ThumbHandle, Screen, GlRect,
GlPolyline, GlPolygon, GlText, GlHandle
)
-preset_paths = bpy.utils.script_paths(subdir="presets")
-addons_paths = bpy.utils.script_paths(subdir="addons")
+preset_paths = [os.path.join(path, "presets") for path in bpy.utils.script_paths()]
+addons_paths = [os.path.join(path, "addons") for path in bpy.utils.script_paths()]
class CruxHandle(GlHandle):