mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix an error in the book details panel if the user sets the default author link to blank
This commit is contained in:
parent
fe733d66cf
commit
e5469824e2
@ -133,6 +133,7 @@ def render_data(mi, use_roman_numbers=True, all_fields=False):
|
|||||||
authors = []
|
authors = []
|
||||||
formatter = EvalFormatter()
|
formatter = EvalFormatter()
|
||||||
for aut in mi.authors:
|
for aut in mi.authors:
|
||||||
|
link = ''
|
||||||
if mi.author_link_map[aut]:
|
if mi.author_link_map[aut]:
|
||||||
link = mi.author_link_map[aut]
|
link = mi.author_link_map[aut]
|
||||||
elif gprefs.get('default_author_link'):
|
elif gprefs.get('default_author_link'):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user