diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-19 10:27:39 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-19 10:27:39 +0400 |
commit | 863b60e1b89dfa2d3c08175c03307a0781e7088a (patch) | |
tree | cbdab643a722cb446f61bc5c3e683f8efad381e5 /release | |
parent | 1ce0958369790c743ed5aefabaad93189781f901 (diff) |
fix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bpy/path.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy/path.py b/release/scripts/modules/bpy/path.py index f7e5b988cc8..5e95428f641 100644 --- a/release/scripts/modules/bpy/path.py +++ b/release/scripts/modules/bpy/path.py @@ -135,7 +135,7 @@ def resolve_ncase(path): filename = os.path.basename(path) # filename may be a directory or a file dirpath = os.path.dirname(path) - suffix = "" + suffix = path[:0] # "" but ensure byte/str match if not filename: # dir ends with a slash? if len(dirpath) < len(path): suffix = path[:len(path) - len(dirpath)] |