diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-06 17:06:13 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-06 17:06:13 +0400 |
commit | 048d3dc587261f87938e04c1e6a91092f634ba8d (patch) | |
tree | 97c82d8bb38e517310507ef9c75d2e9b5b5232fa /release/scripts/modules/bpy/path.py | |
parent | a8129f6b41df2f9916df63bc8477823317c38c44 (diff) |
fix for missing import
Diffstat (limited to 'release/scripts/modules/bpy/path.py')
-rw-r--r-- | release/scripts/modules/bpy/path.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/path.py b/release/scripts/modules/bpy/path.py index 9f3e4be8347..2974615299b 100644 --- a/release/scripts/modules/bpy/path.py +++ b/release/scripts/modules/bpy/path.py @@ -24,7 +24,7 @@ functions for dealing with paths in Blender. """ import bpy as _bpy - +import os as _os def expand(path): """ @@ -84,6 +84,7 @@ def display_name(name): Capitalize the first letter in all lowercase names, mixed case names are kept as is. Intended for use with filenames and module names. """ + name_base = _os.path.splitext(name)[0] # string replacements |