mirror of https://gitlab.com/bashrc2/epicyon
get
parent
7ee58b89fa
commit
eb9dec67e3
|
@ -1425,7 +1425,7 @@ def individualPostAsHtml(baseDir: str, \
|
||||||
postDomain=postDomain.split('/',1)[0]
|
postDomain=postDomain.split('/',1)[0]
|
||||||
titleStr+=' <img src="/icons/reply.png" class="announceOrReply"/> <a href="'+postJsonObject['object']['inReplyTo']+'">'+postDomain+'</a>'
|
titleStr+=' <img src="/icons/reply.png" class="announceOrReply"/> <a href="'+postJsonObject['object']['inReplyTo']+'">'+postDomain+'</a>'
|
||||||
attachmentStr=''
|
attachmentStr=''
|
||||||
if postJsonObject['object']['attachment']:
|
if postJsonObject['object'].get('attachment'):
|
||||||
if isinstance(postJsonObject['object']['attachment'], list):
|
if isinstance(postJsonObject['object']['attachment'], list):
|
||||||
attachmentCtr=0
|
attachmentCtr=0
|
||||||
attachmentStr+='<div class="media">'
|
attachmentStr+='<div class="media">'
|
||||||
|
|
Loading…
Reference in New Issue