diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-21 09:34:20 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-21 09:34:20 +0400 |
commit | 4c37fe91f365202dd15bb8c42a0934547c6a9432 (patch) | |
tree | 82d1316c1e380ccb62cf326ad3791a37a30046a2 /source/blender/python/intern/bpy.c | |
parent | 2aa9c000edd6399d6ccd80e9c268116ba2696a39 (diff) |
patch [#27449] bpy_script_paths() return path reversed [patch]
from Dan Eicher (dna)
Diffstat (limited to 'source/blender/python/intern/bpy.c')
-rw-r--r-- | source/blender/python/intern/bpy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index 340e3f4ac57..525d3fcba78 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -77,9 +77,9 @@ static PyObject *bpy_script_paths(PyObject *UNUSED(self)) PyObject *ret= PyTuple_New(2); char *path; - path= BLI_get_folder(BLENDER_USER_SCRIPTS, NULL); - PyTuple_SET_ITEM(ret, 0, PyUnicode_FromString(path?path:"")); path= BLI_get_folder(BLENDER_SYSTEM_SCRIPTS, NULL); + PyTuple_SET_ITEM(ret, 0, PyUnicode_FromString(path?path:"")); + path= BLI_get_folder(BLENDER_USER_SCRIPTS, NULL); PyTuple_SET_ITEM(ret, 1, PyUnicode_FromString(path?path:"")); return ret; |