mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
...
This commit is contained in:
parent
dc6665c73e
commit
ec00073ed0
@ -467,6 +467,7 @@ def set_authors(root, prefixes, refines, authors):
|
||||
remove_element(item, refines)
|
||||
metadata = XPath('./opf:metadata')(root)[0]
|
||||
for author in authors:
|
||||
if author.name:
|
||||
a = metadata.makeelement(DC('creator'))
|
||||
aid = ensure_id(a)
|
||||
a.text = author.name
|
||||
|
Loading…
x
Reference in New Issue
Block a user