Less indentation

main
Bob Mottram 2020-12-01 10:12:25 +00:00
parent 3ee24118c2
commit 67b024e128
1 changed files with 34 additions and 32 deletions

View File

@ -314,7 +314,9 @@ def getEditIconHtml(baseDir: str, nickname: str, domainFull: str,
postId = postJsonObject['object']['id']
if '/statuses/' in postId:
if '/statuses/' not in postId:
return editStr
if isBlogPost(postJsonObject):
editBlogPostStr = translate['Edit blog post']
if not isNewsPost(postJsonObject):