Fix regression where the '|' character was not converted to comma in get_metadata

This commit is contained in:
Charles Haley 2011-01-15 08:37:48 +00:00
parent 584b8bfa29
commit 1e7c9fb2c3

View File

@ -694,7 +694,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns):
aum = []
aus = {}
for (author, author_sort) in aut_list:
aum.append(author)
aum.append(author.replace('|', ','))
aus[author] = author_sort.replace('|', ',')
mi.title = row[fm['title']]
mi.authors = aum