Check for none

main
Bob Mottram 2022-12-23 22:06:12 +00:00
parent a1bf611ca0
commit 5082b24dfa
1 changed files with 1 additions and 1 deletions

View File

@ -2890,7 +2890,7 @@ def html_conversation_thread(post_id: str,
conv_str = \
html_header_with_external_style(css_filename, instance_title, None)
if len(conv_posts) == 0:
if not conv_posts:
conv_str += html_footer()
return conv_str