Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-19 10:27:39 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-19 10:27:39 +0400
commit863b60e1b89dfa2d3c08175c03307a0781e7088a (patch)
treecbdab643a722cb446f61bc5c3e683f8efad381e5 /release/scripts/modules/bpy/path.py
parent1ce0958369790c743ed5aefabaad93189781f901 (diff)
fix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str
Diffstat (limited to 'release/scripts/modules/bpy/path.py')
-rw-r--r--release/scripts/modules/bpy/path.py2
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)]