diff --git a/webinterface.py b/webinterface.py index 55f15049..fbd4bcf3 100644 --- a/webinterface.py +++ b/webinterface.py @@ -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):