diff --git a/webinterface.py b/webinterface.py
index b7f04370..6226c912 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -2076,7 +2076,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
if isAnnounced:
if postJsonObject['object'].get('attributedTo'):
if postJsonObject['object']['attributedTo'].startswith(postActor):
- titleStr+=' '
+ titleStr+=' '
else:
announceNickname=getNicknameFromActor(postJsonObject['object']['attributedTo'])
if announceNickname:
@@ -2089,7 +2089,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
addEmojiToDisplayName(baseDir,httpPrefix, \
nickname,domain, \
announceDisplayName,False)
- titleStr+=' '+announceDisplayName+''
+ titleStr+=' '+announceDisplayName+''
# show avatar of person replied to
announceActor=postJsonObject['object']['attributedTo']
announceAvatarUrl=getPersonAvatarUrl(baseDir,announceActor,personCache)
@@ -2101,18 +2101,18 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'title="'+translate['Show options for this person']+ \
'" alt=" "'+avatarPosition+'/>'
else:
- titleStr+=' @'+announceNickname+'@'+announceDomain+''
+ titleStr+=' @'+announceNickname+'@'+announceDomain+''
else:
- titleStr+=' @unattributed'
+ titleStr+=' @unattributed'
else:
- titleStr+=' @unattributed'
+ titleStr+=' @unattributed'
else:
if postJsonObject['object'].get('inReplyTo'):
containerClassIcons='containericons darker'
containerClass='container darker'
#avatarPosition=' class="right"'
if postJsonObject['object']['inReplyTo'].startswith(postActor):
- titleStr+=' '
+ titleStr+=' '
else:
if '/statuses/' in postJsonObject['object']['inReplyTo']:
replyActor=postJsonObject['object']['inReplyTo'].split('/statuses/')[0]
@@ -2128,7 +2128,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
addEmojiToDisplayName(baseDir,httpPrefix, \
nickname,domain, \
replyDisplayName,False)
- titleStr+=' '+replyDisplayName+''
+ titleStr+=' '+replyDisplayName+''
# show avatar of person replied to
replyAvatarUrl=getPersonAvatarUrl(baseDir,replyActor,personCache)
@@ -2139,15 +2139,15 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
replyAvatarImageInPost+='title="'+translate['Show profile']
replyAvatarImageInPost+='" alt=" "'+avatarPosition+'/>'
else:
- titleStr+=' @'+replyNickname+'@'+replyDomain+''
+ titleStr+=' @'+replyNickname+'@'+replyDomain+''
else:
- titleStr+=' @unknown'
+ titleStr+=' @unknown'
else:
postDomain=postJsonObject['object']['inReplyTo'].replace('https://','').replace('http://','').replace('dat://','')
if '/' in postDomain:
postDomain=postDomain.split('/',1)[0]
if postDomain:
- titleStr+=' '+postDomain+''
+ titleStr+=' '+postDomain+''
attachmentStr=''
if postJsonObject['object'].get('attachment'):
if isinstance(postJsonObject['object']['attachment'], list):
@@ -2298,7 +2298,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'?actor='+postJsonObject['actor']+ \
'?bm='+timelinePostBookmark+ \
'?tl='+boxName+'" title="'+announceTitle+'">'
- announceStr+=''
+ announceStr+=''
likeStr=''
if not isModerationPost:
@@ -2316,7 +2316,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'?actor='+postJsonObject['actor']+ \
'?bm='+timelinePostBookmark+ \
'?tl='+boxName+'" title="'+likeTitle+'">'
- likeStr+=''
+ likeStr+=''
bookmarkStr=''
if not isModerationPost:
@@ -2333,7 +2333,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
'?actor='+postJsonObject['actor']+ \
'?bm='+timelinePostBookmark+ \
'?tl='+boxName+'" title="'+bookmarkTitle+'">'
- bookmarkStr+=''
+ bookmarkStr+=''
deleteStr=''
if allowDeletion or \
@@ -2379,7 +2379,7 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
''
- footerStr+=''
+ footerStr+=''
footerStr+=announceStr+likeStr+bookmarkStr+deleteStr
footerStr+=''+publishedStr+''
footerStr+=''