From 2902a55df03232835f745b1f56ea572413a70d94 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 12 Jan 2012 07:55:27 +0530 Subject: [PATCH] ... --- src/calibre/library/database2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/library/database2.py b/src/calibre/library/database2.py index 59615657d8..1bbbf2405b 100644 --- a/src/calibre/library/database2.py +++ b/src/calibre/library/database2.py @@ -565,7 +565,7 @@ class LibraryDatabase2(LibraryDatabase, SchemaUpgrade, CustomColumns): authors = self.authors(id, index_is_id=True) if not authors: authors = _('Unknown') - author = ascii_filename(authors.split(',')[0] + author = ascii_filename(authors.split(',')[0].replace('|', ',') )[:self.PATH_LIMIT].decode('ascii', 'replace') title = ascii_filename(self.title(id, index_is_id=True) )[:self.PATH_LIMIT].decode('ascii', 'replace')