Fixed a few typos

This commit is contained in:
Rudi Grinberg 2012-09-14 12:57:32 -04:00
parent 8a0c91fd44
commit 6c759ea06c

View file

@ -347,8 +347,8 @@ def organized_path(old_path, root_path, orig_md):
if normal_md['MDATA_KEY_OWNER_ID'] != -1:
p, e = no_extension_basename(filepath), extension(filepath)
filepath = os.path.join(
os.path.dirname(p),
p + normal_md['MDATA_KEY_OWNER_ID'] + e )
os.path.dirname(filepath),
"%s__%s.%s" % (p, unicode(normal_md['MDATA_KEY_OWNER_ID']), e))
return filepath