From e1d45bb1c491643b84dc1c6ec45c5457cee967a1 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Aug 2019 10:25:24 +0100 Subject: [PATCH] Tidying --- webinterface.py | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/webinterface.py b/webinterface.py index e5bb6651..09ab6f83 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1230,19 +1230,16 @@ def individualPostAsHtml(baseDir: str, \ ' ' \ ' Avatar' + messageIdStr='' + if messageId: + messageIdStr=';'+messageId + if showAvatarDropdown and fullDomain+'/users/'+nickname not in postJsonObject['actor']: - if messageId: - avatarDropdown= \ - ' ' - else: - avatarDropdown= \ - ' ' + avatarDropdown= \ + ' ' publishedStr=postJsonObject['object']['published'] if '.' not in publishedStr: