Missing cw defaults to false

main2
Bob Mottram 2019-10-17 23:47:40 +01:00
parent df22961f26
commit bbb544f373
1 changed files with 2 additions and 2 deletions

View File

@ -2045,9 +2045,9 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
footerStr+='</div>' footerStr+='</div>'
if not postJsonObject['object'].get('sensitive'): if not postJsonObject['object'].get('sensitive'):
postJsonObject['object']['sensitive']=True postJsonObject['object']['sensitive']=False
if not postJsonObject['object'].get('summary'): if not postJsonObject['object'].get('summary'):
postJsonObject['object']['summary']='sensitive' postJsonObject['object']['summary']=''
if not postJsonObject['object']['sensitive']: if not postJsonObject['object']['sensitive']:
contentStr=postJsonObject['object']['content']+attachmentStr contentStr=postJsonObject['object']['content']+attachmentStr