alternative way to make author_text

master
Michael Murtaugh 4 years ago
parent cc5ff4e008
commit e2ea5775e0

@ -41,9 +41,10 @@ for book in session.query(Book).all():
author_text = ""
for author in book.authors:
if not first:
text += ", "
author_text += "<font size=12>{}</font>".format(author.name)
author_text += ", "
author_text += author.name
first = False
author_text = "<font size=12>{}</font>".format(author_text)
#if all_authors==['John Markoff']:
# import ipdb; ipdb.set_trace()

Loading…
Cancel
Save