mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Save templates: Handle user specifying author instead of authors
This commit is contained in:
parent
065a091c23
commit
916a780ebf
@ -112,6 +112,7 @@ def get_components(template, mi, id, timefmt='%b %Y', length=250,
|
||||
format_args['title'] = mi.title
|
||||
if mi.authors:
|
||||
format_args['authors'] = mi.format_authors()
|
||||
format_args['author'] = format_args['authors']
|
||||
if mi.author_sort:
|
||||
format_args['author_sort'] = mi.author_sort
|
||||
if mi.tags:
|
||||
|
Loading…
x
Reference in New Issue
Block a user