Revision: 36763 http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=36763 Author: campbellbarton Date: 2011-05-19 06:27:39 +0000 (Thu, 19 May 2011) Log Message: ----------- fix [#27432] [2.57/scripts/modules/bpy/path.py:169] can't concat bytes to str
Modified Paths: -------------- trunk/blender/release/scripts/modules/bpy/path.py Modified: trunk/blender/release/scripts/modules/bpy/path.py =================================================================== --- trunk/blender/release/scripts/modules/bpy/path.py 2011-05-19 06:17:44 UTC (rev 36762) +++ trunk/blender/release/scripts/modules/bpy/path.py 2011-05-19 06:27:39 UTC (rev 36763) @@ -135,7 +135,7 @@ 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)] _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org http://lists.blender.org/mailman/listinfo/bf-blender-cvs