Fewer lines

main
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 = \
getBannerFile(baseDir, nickname, domain, theme)
isBot = ''
isGroup = ''
followDMs = ''
removeTwitter = ''
notifyLikes = ''
hideLikeButton = ''
mediaInstanceStr = ''
blogsInstanceStr = ''
newsInstanceStr = ''
displayNickname = nickname
bioStr = ''
donateUrl = ''
emailAddress = ''
PGPpubKey = ''
PGPfingerprint = ''
xmppAddress = ''
matrixAddress = ''
ssbAddress = ''
blogAddress = ''
toxAddress = ''
jamiAddress = ''
cwtchAddress = ''
briarAddress = ''
manuallyApprovesFollowers = ''
movedTo = ''
isBot = isGroup = followDMs = removeTwitter = ''
notifyLikes = hideLikeButton = mediaInstanceStr = ''
blogsInstanceStr = newsInstanceStr = movedTo = ''
bioStr = donateUrl = emailAddress = PGPpubKey = ''
PGPfingerprint = xmppAddress = matrixAddress = ''
ssbAddress = blogAddress = toxAddress = jamiAddress = ''
cwtchAddress = briarAddress = manuallyApprovesFollowers = ''
actorJson = loadJson(actorFilename)
if actorJson:
if actorJson.get('movedTo'):