mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-28 07:13:22 +02:00
...
This commit is contained in:
parent
78dab5839d
commit
2902a55df0
1 changed files with 1 additions and 1 deletions
|
|
@ -565,7 +565,7 @@ def construct_file_name(self, id):
|
|||
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')
|
||||
|
|
|
|||
Loading…
Reference in a new issue