diff options
author | Thomas Dinges <blender@dingto.org> | 2014-01-03 05:28:21 +0400 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2014-01-03 05:28:21 +0400 |
commit | f345414b89a9d94cca668c10ce8f0464d06dea4f (patch) | |
tree | 3b4c9212e42ecbdd1903dff2592d103ec8f82be1 /doc/python_api/rst/info_tips_and_tricks.rst | |
parent | 99ed221a6b29730e46b8c90776fc8fe882098c86 (diff) |
Fix T38032, typo in Python API documentation.
Diffstat (limited to 'doc/python_api/rst/info_tips_and_tricks.rst')
-rw-r--r-- | doc/python_api/rst/info_tips_and_tricks.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/python_api/rst/info_tips_and_tricks.rst b/doc/python_api/rst/info_tips_and_tricks.rst index 793259401b8..e345f36a148 100644 --- a/doc/python_api/rst/info_tips_and_tricks.rst +++ b/doc/python_api/rst/info_tips_and_tricks.rst @@ -115,7 +115,7 @@ While this is not best practice - for testing you can extend the search path, th import os import bpy - blend_dir = os.path.basename(bpy.data.filepath) + blend_dir = os.path.dirname(bpy.data.filepath) if blend_dir not in sys.path: sys.path.append(blend_dir) |