mirror of https://gitlab.com/bashrc2/epicyon
Missing params
parent
48ae8dc2f2
commit
17f13d191c
|
@ -1642,7 +1642,7 @@ def addEmojiToDisplayName(baseDir: str,httpPrefix: str, \
|
|||
displayName=htmlReplaceEmojiFromTags(displayName,emojiTagsList,'profile')
|
||||
return displayName
|
||||
|
||||
def downloadAnnounce(session,baseDir: str,httpPrefix: str,nickname: str,domain: str,postJsonObject: {}) -> {}:
|
||||
def downloadAnnounce(session,baseDir: str,httpPrefix: str,nickname: str,domain: str,postJsonObject: {},projectVersion: str) -> {}:
|
||||
"""Download the post referenced by an announce
|
||||
"""
|
||||
if not postJsonObject.get('object'):
|
||||
|
@ -1753,7 +1753,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
|
|||
galleryStr=''
|
||||
isAnnounced=False
|
||||
if postJsonObject['type']=='Announce':
|
||||
postJsonAnnounce=downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,postJsonObject)
|
||||
postJsonAnnounce=downloadAnnounce(session,baseDir,httpPrefix,nickname,domain,postJsonObject,projectVersion)
|
||||
if not postJsonAnnounce:
|
||||
return ''
|
||||
postJsonObject=postJsonAnnounce
|
||||
|
|
Loading…
Reference in New Issue