diff --git a/webapp_profile.py b/webapp_profile.py index 6c16f8f2..37a3764e 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -280,7 +280,7 @@ def getProfileHeader(baseDir: str, nickname: str, domain: str, """The header of the profile screen, containing background image and avatar """ - htmlStr = '
\n' + htmlStr = '\n
\n' htmlStr += ' \n' @@ -359,8 +359,6 @@ def htmlProfile(rssIconAtTop: bool, followApprovalsSection = '' followApprovals = False - linkToTimelineStart = '' - linkToTimelineEnd = '' editProfileStr = '' logoutStr = '' actor = profileJson['id'] @@ -433,15 +431,6 @@ def htmlProfile(rssIconAtTop: bool, '" alt="| ' + translate['Logout'] + \ '" class="timelineicon"/>\n' - linkToTimelineStart = \ - '' - linkToTimelineStart += \ - '' - linkToTimelineEnd = '' # are there any follow requests? followRequestsFilename = \ baseDir + '/accounts/' + \ @@ -544,9 +533,7 @@ def htmlProfile(rssIconAtTop: bool, profileDescriptionShort, loginButton, avatarUrl) - profileStr = \ - linkToTimelineStart + profileHeaderStr + \ - linkToTimelineEnd + donateSection + profileStr = profileHeaderStr + donateSection if not isSystemAccount(nickname): profileStr += '
\n' profileStr += '
'