mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 11:14:02 +02:00
Fix commas in author names being converted to pipe symbols in the book details window
This commit is contained in:
parent
0e3f09968b
commit
39333edbc3
1 changed files with 1 additions and 1 deletions
|
|
@ -428,7 +428,7 @@ def get_book_info(self, index):
|
||||||
au = self.db.authors(row)
|
au = self.db.authors(row)
|
||||||
if not au:
|
if not au:
|
||||||
au = _('Unknown')
|
au = _('Unknown')
|
||||||
au = ', '.join([a.strip() for a in au.split(',')])
|
au = authors_to_string([a.strip().replace('|', ',') for a in au.split(',')])
|
||||||
data[_('Author(s)')] = au
|
data[_('Author(s)')] = au
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue