Fix warnings

main
Bob Mottram 2021-11-11 15:12:14 +00:00
parent 9046a8c1e3
commit 106888efee
1 changed files with 2 additions and 3 deletions

View File

@ -706,7 +706,7 @@ def _getReactionIconHtml(nickname: str, domainFull: str,
enableTimingLog: bool,
postStartTime, boxName: str,
pageNumberParam: str,
timelinePostBookmark: str) -> str:
timelinePostReaction: str) -> str:
"""Returns html for reaction icon/button
"""
reactionStr = ''
@ -715,7 +715,6 @@ def _getReactionIconHtml(nickname: str, domainFull: str,
return reactionStr
reactionIcon = 'reaction.png'
reactionLink = 'reactpick'
reactionTitle = 'Select reaction'
if translate.get(reactionTitle):
reactionTitle = translate[reactionTitle]
@ -730,7 +729,7 @@ def _getReactionIconHtml(nickname: str, domainFull: str,
reactionStr += \
' ' + \
'<img loading="lazy" title="' + reactionTitle + '" alt="' + \
reactionEmoji + reactionTitle + ' |" src="/icons' + \
reactionTitle + ' |" src="/icons' + \
'/' + reactionIcon + '"/></a>\n'
return reactionStr