mirror of https://gitlab.com/bashrc2/epicyon
Handle missing cw flag
parent
838e2d1fc3
commit
df22961f26
|
@ -2044,11 +2044,12 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
footerStr+='<span class="'+timeClass+'">'+publishedStr+'</span>'
|
footerStr+='<span class="'+timeClass+'">'+publishedStr+'</span>'
|
||||||
footerStr+='</div>'
|
footerStr+='</div>'
|
||||||
|
|
||||||
isSensitive=False
|
if not postJsonObject['object'].get('sensitive'):
|
||||||
if postJsonObject['object'].get('sensitive'):
|
postJsonObject['object']['sensitive']=True
|
||||||
isSensitive=postJsonObject['object']['sensitive']:
|
if not postJsonObject['object'].get('summary'):
|
||||||
|
postJsonObject['object']['summary']='sensitive'
|
||||||
|
|
||||||
if not isSensitive:
|
if not postJsonObject['object']['sensitive']:
|
||||||
contentStr=postJsonObject['object']['content']+attachmentStr
|
contentStr=postJsonObject['object']['content']+attachmentStr
|
||||||
contentStr=addEmbeddedElements(translate,contentStr)
|
contentStr=addEmbeddedElements(translate,contentStr)
|
||||||
contentStr=insertQuestion(translate,nickname,contentStr,postJsonObject,pageNumber)
|
contentStr=insertQuestion(translate,nickname,contentStr,postJsonObject,pageNumber)
|
||||||
|
|
Loading…
Reference in New Issue