More descriptive function name

main
Bob Mottram 2020-11-30 15:22:19 +00:00
parent 92e5576207
commit eb6c220cec
1 changed files with 6 additions and 6 deletions

View File

@ -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 = \
' <div class="timeline-avatar">' + avatarLink + '</div>\n'