diff --git a/posts.py b/posts.py index 66b64b83e..d2187a04d 100644 --- a/posts.py +++ b/posts.py @@ -3101,10 +3101,12 @@ def _createBoxIndexed(recentPostsCache: {}, # but have their own separate index indexBoxName = boxname timelineNickname = nickname + tlFeatures = False if boxname == "tlbookmarks": boxname = "bookmarks" indexBoxName = boxname elif boxname == "tlfeatures": + tlFeatures = True boxname = "tlblogs" indexBoxName = boxname timelineNickname = 'news' @@ -3227,8 +3229,8 @@ def _createBoxIndexed(recentPostsCache: {}, _addPostToTimeline(fullPostFilename, boxname, postsInBox, boxActor) else: - # if this is the features timeline if timelineNickname != nickname: + # if this is the features timeline fullPostFilename = \ locatePost(baseDir, timelineNickname, domain, postUrl, False) @@ -3236,9 +3238,11 @@ def _createBoxIndexed(recentPostsCache: {}, _addPostToTimeline(fullPostFilename, boxname, postsInBox, boxActor) else: - print('WARN: unable to locate post ' + postUrl) + print('WARN: features timeline. ' + + 'Unable to locate post ' + postUrl) else: - print('WARN: unable to locate post ' + postUrl) + print('WARN: Unable to locate post ' + postUrl + + ' nickname ' + nickname) postsCtr += 1