From 827ebad16668e40780d9db950ecfa8f50d945f19 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 30 Sep 2020 22:05:32 +0100 Subject: [PATCH] Indentation --- webinterface.py | 56 ++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/webinterface.py b/webinterface.py index 0b0d6f41..a6ffb1de 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' \ - ' \n' elif boxName == 'tlblogs': newPostButtonStr = \ - ' | ' + \
@@ -5298,7 +5298,7 @@ def htmlTimeline(defaultTimeline: str,
             '\n' elif boxName == 'tlevents': newPostButtonStr = \ - ' | ' + \
@@ -5307,7 +5307,7 @@ def htmlTimeline(defaultTimeline: str,
     else:
         if not manuallyApproveFollowers:
             newPostButtonStr = \
-                '      <a class=| ' + \
@@ -5315,7 +5315,7 @@ def htmlTimeline(defaultTimeline: str,
                 '\n' else: newPostButtonStr = \ - ' | ' + \
@@ -5438,14 +5438,14 @@ def htmlTimeline(defaultTimeline: str,
         # indicate that the calendar icon is highlighted
         calendarAltText = '*' + calendarAltText + '*'
     tlStr += \
-        '      <a class=| ' + calendarAltText + '\n' # the show/hide button, for a simpler header appearance tlStr += \ - '