Test for index

merge-requests/6/head
Bob Mottram 2019-11-24 11:31:50 +00:00
parent bd68e84776
commit dbebc3eaa4
1 changed files with 1 additions and 1 deletions

View File

@ -2581,7 +2581,7 @@ def htmlTimeline(recentPostsCache: {}, \
if item['type']=='Create' or item['type']=='Announce':
#avatarUrl=getPersonAvatarUrl(baseDir,item['actor'],personCache)
currTlStr=None
if recentPostsCache['index']:
if recentPostsCache.get('index'):
postId=item['id'].replace('/activity','').replace('/','#')
if postId in recentPostsCache['index']:
if recentPostsCache['html'].get(postId):