From eb6c220cec622d54aac9882740228293749f2130 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 30 Nov 2020 15:22:19 +0000 Subject: [PATCH] More descriptive function name --- webapp_post.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/webapp_post.py b/webapp_post.py index 2d1cb87a..8a9b1474 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -207,7 +207,7 @@ def getAvatarImageUrl(session, return avatarUrl -def getAvatarLink(showAvatarOptions: bool, +def getAvatarImageHtml(showAvatarOptions: bool, nickname: str, domainFull: str, avatarUrl: str, postActor: str, translate: {}, avatarPosition: str, @@ -375,11 +375,11 @@ def individualPostAsHtml(allowDownloads: bool, print('TIMING INDIV ' + boxName + ' 7 = ' + str(timeDiff)) avatarLink = \ - getAvatarLink(showAvatarOptions, - nickname, domainFull, - avatarUrl, postActor, - translate, avatarPosition, - pageNumber, messageIdStr) + getAvatarImageHtml(showAvatarOptions, + nickname, domainFull, + avatarUrl, postActor, + translate, avatarPosition, + pageNumber, messageIdStr) avatarImageInPost = \ '
' + avatarLink + '
\n'