mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04: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
@ -428,7 +428,7 @@ class BooksModel(QAbstractTableModel): # {{{
|
||||
au = self.db.authors(row)
|
||||
if not au:
|
||||
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
|
||||
return data
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user