forked from indymedia/epicyon
Less indentation
parent
3ee24118c2
commit
67b024e128
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue