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
@ -1294,6 +1294,8 @@ ALTER TABLE books ADD COLUMN isbn TEXT DEFAULT "" COLLATE NOCASE;
|
||||
if not au:
|
||||
au = 'Unknown'
|
||||
au = au.split(',')[0]
|
||||
else:
|
||||
au = au.replace(',', ';')
|
||||
if not by_author.has_key(au):
|
||||
by_author[au] = []
|
||||
by_author[au].append(index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user