From 588f42a8964bcd690425e726c165ca22d212febe Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 28 Sep 2019 13:07:48 +0100 Subject: [PATCH] Don't post content --- webinterface.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/webinterface.py b/webinterface.py index 65303b65..9cc85d45 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1882,11 +1882,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ ' \n' \ ' '+imageDescription+'\n' \ ' \n' - if postJsonObject['object'].get('content'): - galleryStr+= \ - '
'+postJsonObject['object']['content']+'
\n' - galleryStr+= \ - '\n' + #if postJsonObject['object'].get('content'): + # galleryStr+= \ + # '
'+postJsonObject['object']['content']+'
\n' + galleryStr+='\n' attachmentStr+= \ '' \ ''+imageDescription+'\n'