Fewer lines

merge-requests/30/head
Bob Mottram 2021-06-27 17:22:55 +01:00
parent cc4918f081
commit de56a843cb
1 changed files with 8 additions and 24 deletions

View File

@ -1034,31 +1034,15 @@ def htmlEditProfile(cssCache: {}, translate: {}, baseDir: str, path: str,
bannerFile, bannerFilename = \ bannerFile, bannerFilename = \
getBannerFile(baseDir, nickname, domain, theme) getBannerFile(baseDir, nickname, domain, theme)
isBot = ''
isGroup = ''
followDMs = ''
removeTwitter = ''
notifyLikes = ''
hideLikeButton = ''
mediaInstanceStr = ''
blogsInstanceStr = ''
newsInstanceStr = ''
displayNickname = nickname displayNickname = nickname
bioStr = '' isBot = isGroup = followDMs = removeTwitter = ''
donateUrl = '' notifyLikes = hideLikeButton = mediaInstanceStr = ''
emailAddress = '' blogsInstanceStr = newsInstanceStr = movedTo = ''
PGPpubKey = '' bioStr = donateUrl = emailAddress = PGPpubKey = ''
PGPfingerprint = '' PGPfingerprint = xmppAddress = matrixAddress = ''
xmppAddress = '' ssbAddress = blogAddress = toxAddress = jamiAddress = ''
matrixAddress = '' cwtchAddress = briarAddress = manuallyApprovesFollowers = ''
ssbAddress = ''
blogAddress = ''
toxAddress = ''
jamiAddress = ''
cwtchAddress = ''
briarAddress = ''
manuallyApprovesFollowers = ''
movedTo = ''
actorJson = loadJson(actorFilename) actorJson = loadJson(actorFilename)
if actorJson: if actorJson:
if actorJson.get('movedTo'): if actorJson.get('movedTo'):