Fix regression that broke the book details panel when displaying books whose authors have a manually specified link

This commit is contained in:
Kovid Goyal 2014-07-25 11:36:46 +05:30
parent 9772a753e0
commit 5a5b5fb6f2

View File

@ -142,7 +142,7 @@ def mi_to_html(mi, field_list=None, default_author_link=None, use_roman_numbers=
for aut in mi.authors:
link = ''
if mi.author_link_map[aut]:
link = mi.author_link_map[aut]
link = lt = mi.author_link_map[aut]
elif default_author_link:
if default_author_link == 'search-calibre':
link = search_href('authors', aut)