mirror of https://gitlab.com/bashrc2/epicyon
Less indentation
parent
c135486059
commit
ac531e1b74
|
@ -249,7 +249,9 @@ def getReplyIconHtml(nickname: str, isPublicRepeat: bool,
|
|||
"""Returns html for the reply icon/button
|
||||
"""
|
||||
replyStr = ''
|
||||
if showIcons and commentsEnabled:
|
||||
if not (showIcons and commentsEnabled):
|
||||
return replyStr
|
||||
|
||||
# reply is permitted - create reply icon
|
||||
replyToLink = postJsonObject['object']['id']
|
||||
if postJsonObject['object'].get('attributedTo'):
|
||||
|
|
Loading…
Reference in New Issue