projects
/
blender-staging.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ce0958
)
fix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str
author
Campbell Barton <ideasman42@gmail.com>
Thu, 19 May 2011 06:27:39 +0000
(06:27 +0000)
committer
Campbell Barton <ideasman42@gmail.com>
Thu, 19 May 2011 06:27:39 +0000
(06:27 +0000)
release/scripts/modules/bpy/path.py
patch
|
blob
|
history
diff --git
a/release/scripts/modules/bpy/path.py
b/release/scripts/modules/bpy/path.py
index f7e5b988cc8e3e80b5a313dc4c6229aea3eac668..5e95428f6419f9fb2ccbbec48090871de1de05f9 100644
(file)
--- 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)]