Indentation

main
Bob Mottram 2021-09-06 09:50:44 +01:00
parent 12c0c64d96
commit 3c2e575ea9
1 changed files with 9 additions and 9 deletions

View File

@ -3506,15 +3506,15 @@ def _createBoxIndexed(recentPostsCache: {},
if postUrl in recentPostsCache['index']: if postUrl in recentPostsCache['index']:
if recentPostsCache['json'].get(postUrl): if recentPostsCache['json'].get(postUrl):
url = recentPostsCache['json'][postUrl] url = recentPostsCache['json'][postUrl]
if _addPostStringToTimeline(url, if _addPostStringToTimeline(url,
boxname, postsInBox, boxname, postsInBox,
boxActor): boxActor):
totalPostsCount += 1 totalPostsCount += 1
postsAddedToTimeline += 1 postsAddedToTimeline += 1
postUrlsInBox.append(url) postUrlsInBox.append(url)
continue continue
else: else:
print('Post not added to timeline') print('Post not added to timeline')
# read the post from file # read the post from file
fullPostFilename = \ fullPostFilename = \