diff --git a/webinterface.py b/webinterface.py index ad6691c2..47912e3e 100644 --- a/webinterface.py +++ b/webinterface.py @@ -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()