From 67e26b45c63e2e8b3bd29ffbdca07ea3d4bde4f2 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 5 Nov 2020 23:22:12 +0000 Subject: [PATCH] Check for none --- webinterface.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webinterface.py b/webinterface.py index 985f546b..163853d0 100644 --- a/webinterface.py +++ b/webinterface.py @@ -5897,9 +5897,13 @@ def htmlCitations(baseDir: str, nickname: str, domain: str, htmlStr += '
\n' htmlStr += translate['Choose newswire items ' + 'referenced in your article'] + '
' + if blogTitle is None: + blogTitle = '' htmlStr += \ ' \n' + if blogContent is None: + blogContent = '' htmlStr += \ ' \n'