Save templates: Handle user specifying author instead of authors

This commit is contained in:
Kovid Goyal 2010-01-23 08:54:47 -07:00
parent 065a091c23
commit 916a780ebf

View File

@ -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: