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