mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
74a691134f
commit
9d676fbd9c
@ -33,7 +33,10 @@ def get_metadata(stream):
|
|||||||
le = XPath('descendant::fb2:last-name')(au)
|
le = XPath('descendant::fb2:last-name')(au)
|
||||||
if le:
|
if le:
|
||||||
lname = tostring(le[0])
|
lname = tostring(le[0])
|
||||||
author += ' '+lname
|
if author:
|
||||||
|
author += ' '+lname
|
||||||
|
else:
|
||||||
|
author = lname
|
||||||
if author:
|
if author:
|
||||||
authors.append(author)
|
authors.append(author)
|
||||||
if len(authors) == 1 and author is not None:
|
if len(authors) == 1 and author is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user