mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T38032, typo in Python API documentation.
This commit is contained in:
parent
99ed221a6b
commit
f345414b89
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue