mirror of https://gitlab.com/bashrc2/epicyon
Fix warnings
parent
9046a8c1e3
commit
106888efee
|
@ -706,7 +706,7 @@ def _getReactionIconHtml(nickname: str, domainFull: str,
|
||||||
enableTimingLog: bool,
|
enableTimingLog: bool,
|
||||||
postStartTime, boxName: str,
|
postStartTime, boxName: str,
|
||||||
pageNumberParam: str,
|
pageNumberParam: str,
|
||||||
timelinePostBookmark: str) -> str:
|
timelinePostReaction: str) -> str:
|
||||||
"""Returns html for reaction icon/button
|
"""Returns html for reaction icon/button
|
||||||
"""
|
"""
|
||||||
reactionStr = ''
|
reactionStr = ''
|
||||||
|
@ -715,7 +715,6 @@ def _getReactionIconHtml(nickname: str, domainFull: str,
|
||||||
return reactionStr
|
return reactionStr
|
||||||
|
|
||||||
reactionIcon = 'reaction.png'
|
reactionIcon = 'reaction.png'
|
||||||
reactionLink = 'reactpick'
|
|
||||||
reactionTitle = 'Select reaction'
|
reactionTitle = 'Select reaction'
|
||||||
if translate.get(reactionTitle):
|
if translate.get(reactionTitle):
|
||||||
reactionTitle = translate[reactionTitle]
|
reactionTitle = translate[reactionTitle]
|
||||||
|
@ -730,7 +729,7 @@ def _getReactionIconHtml(nickname: str, domainFull: str,
|
||||||
reactionStr += \
|
reactionStr += \
|
||||||
' ' + \
|
' ' + \
|
||||||
'<img loading="lazy" title="' + reactionTitle + '" alt="' + \
|
'<img loading="lazy" title="' + reactionTitle + '" alt="' + \
|
||||||
reactionEmoji + reactionTitle + ' |" src="/icons' + \
|
reactionTitle + ' |" src="/icons' + \
|
||||||
'/' + reactionIcon + '"/></a>\n'
|
'/' + reactionIcon + '"/></a>\n'
|
||||||
return reactionStr
|
return reactionStr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue