mirror of https://gitlab.com/bashrc2/epicyon
Check for content
parent
182c529047
commit
2b59cd1490
|
@ -2474,6 +2474,8 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
|
||||||
if not postJsonObject['object'].get('summary'):
|
if not postJsonObject['object'].get('summary'):
|
||||||
postJsonObject['object']['summary']=''
|
postJsonObject['object']['summary']=''
|
||||||
|
|
||||||
|
if not postJsonObject['object'].get('content'):
|
||||||
|
return ''
|
||||||
objectContent=removeLongWords(postJsonObject['object']['content'],40,[])
|
objectContent=removeLongWords(postJsonObject['object']['content'],40,[])
|
||||||
if not postJsonObject['object']['sensitive']:
|
if not postJsonObject['object']['sensitive']:
|
||||||
contentStr=objectContent+attachmentStr
|
contentStr=objectContent+attachmentStr
|
||||||
|
|
Loading…
Reference in New Issue