mirror of https://gitlab.com/bashrc2/epicyon
Handle missing cw flag
parent
5494d6afc8
commit
838e2d1fc3
|
@ -2044,7 +2044,11 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
||||||
footerStr+='<span class="'+timeClass+'">'+publishedStr+'</span>'
|
footerStr+='<span class="'+timeClass+'">'+publishedStr+'</span>'
|
||||||
footerStr+='</div>'
|
footerStr+='</div>'
|
||||||
|
|
||||||
if not postJsonObject['object']['sensitive']:
|
isSensitive=False
|
||||||
|
if postJsonObject['object'].get('sensitive'):
|
||||||
|
isSensitive=postJsonObject['object']['sensitive']:
|
||||||
|
|
||||||
|
if not isSensitive:
|
||||||
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