mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
MOBI metadata: When reading author sort from MOBI files, construct the final value from all author fields
This commit is contained in:
parent
0e46388e20
commit
aad417b5d3
@ -127,6 +127,8 @@ class EXTHHeader(object): # {{{
|
|||||||
self.mi.authors.append(m.group())
|
self.mi.authors.append(m.group())
|
||||||
if self.mi.is_null('author_sort'):
|
if self.mi.is_null('author_sort'):
|
||||||
self.mi.author_sort = m.group()
|
self.mi.author_sort = m.group()
|
||||||
|
else:
|
||||||
|
self.mi.author_sort += ' & ' + m.group()
|
||||||
else:
|
else:
|
||||||
self.mi.authors.append(au)
|
self.mi.authors.append(au)
|
||||||
elif idx == 101:
|
elif idx == 101:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user