mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
When saving to disk use ; instead of , for author sort separator
This commit is contained in:
parent
612df436ff
commit
3df02e65e1
@ -1293,7 +1293,9 @@ ALTER TABLE books ADD COLUMN isbn TEXT DEFAULT "" COLLATE NOCASE;
|
|||||||
au = self.authors(index)
|
au = self.authors(index)
|
||||||
if not au:
|
if not au:
|
||||||
au = 'Unknown'
|
au = 'Unknown'
|
||||||
au = au.split(',')[0]
|
au = au.split(',')[0]
|
||||||
|
else:
|
||||||
|
au = au.replace(',', ';')
|
||||||
if not by_author.has_key(au):
|
if not by_author.has_key(au):
|
||||||
by_author[au] = []
|
by_author[au] = []
|
||||||
by_author[au].append(index)
|
by_author[au].append(index)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user