mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 18:05:22 +00:00
Check for none
This commit is contained in:
1 parent
3179a37975
commit
c86c1925a4
1 file changed
+3
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user