Check for none

main
Bob Mottram 2020-08-29 21:11:19 +01:00
parent 3179a37975
commit c86c1925a4
1 changed files with 3 additions and 0 deletions

View File

@ -3808,6 +3808,9 @@ def individualPostAsHtml(allowDownloads: bool,
storeToCache=True) -> str:
""" Shows a single post as html
"""
if not postJsonObject:
return ''
# benchmark
postStartTime = time.time()