From 7a7c96eac71308ffbef3ec88e299ca8c13d22c40 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Sep 2020 21:50:13 +0100 Subject: [PATCH] Indentation --- webinterface.py | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/webinterface.py b/webinterface.py index 9e5127ba..a0551bc3 100644 --- a/webinterface.py +++ b/webinterface.py @@ -4143,7 +4143,7 @@ def individualPostAsHtml(allowDownloads: bool, if timeDiff > 100: print('TIMING INDIV ' + boxName + ' 7 = ' + str(timeDiff)) - avatarLink = ' ' + avatarLink = ' ' avatarLink += \ '  \n' @@ -4151,7 +4151,7 @@ def individualPostAsHtml(allowDownloads: bool, if showAvatarOptions and \ fullDomain + '/users/' + nickname not in postActor: avatarLink = \ - ' \n' avatarLink += \ @@ -4230,7 +4230,7 @@ def individualPostAsHtml(allowDownloads: bool, nickname, domain, displayName, False) titleStr += \ - ' ' + displayName + '\n' @@ -4245,7 +4245,7 @@ def individualPostAsHtml(allowDownloads: bool, # pprint(postJsonObject) print('ERROR: no actorDomain') titleStr += \ - ' @' + actorNickname + '@' + actorDomain + '\n' @@ -4289,20 +4289,20 @@ def individualPostAsHtml(allowDownloads: bool, replyStr = '' if isPublicRepeat: replyStr += \ - ' \n' else: if isDM(postJsonObject): replyStr += \ - ' \n' else: replyStr += \ - ' \n' @@ -4333,7 +4333,7 @@ def individualPostAsHtml(allowDownloads: bool, if isBlogPost(postJsonObject): blogPostId = postJsonObject['object']['id'] editStr += \ - ' \n' deleteStr += \ @@ -4508,7 +4508,7 @@ def individualPostAsHtml(allowDownloads: bool, else: if not isMuted: muteStr = \ - ' \n' @@ -4519,7 +4519,7 @@ def individualPostAsHtml(allowDownloads: bool, '" src="/' + iconsDir + '/mute.png"/>\n' else: muteStr = \ - ' \n' + footerStr = '
\n' footerStr += replyStr + announceStr + likeStr + bookmarkStr + \ deleteStr + muteStr + editStr footerStr += ' ' + contentStr + '
\n' + contentStr = '
' + \ + contentStr + '
\n' else: contentStr = \ '
' + contentStr + \