mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
On second thoughts use the first file-as value instead of the last.
This commit is contained in:
parent
fb4504382b
commit
fa00093b21
@ -443,7 +443,7 @@ def read_authors(root, prefixes, refines):
|
||||
aus = None
|
||||
file_as = props.get('file-as')
|
||||
if file_as:
|
||||
aus = authors_to_string([x[-1] for x in file_as])
|
||||
aus = file_as[0][-1]
|
||||
else:
|
||||
aus = item.get(OPF('file-as')) or None
|
||||
return Author(normalize_whitespace(val), normalize_whitespace(aus))
|
||||
|
Loading…
x
Reference in New Issue
Block a user