mirror of https://gitlab.com/bashrc2/epicyon
Url variable
parent
3c2e575ea9
commit
36fd03166b
8
posts.py
8
posts.py
|
@ -3498,7 +3498,7 @@ def _createBoxIndexed(recentPostsCache: {},
|
||||||
postFilename.replace('\n', '').replace('\r', '')
|
postFilename.replace('\n', '').replace('\r', '')
|
||||||
postUrl = postUrl.replace('.json', '').strip()
|
postUrl = postUrl.replace('.json', '').strip()
|
||||||
|
|
||||||
if url in postUrlsInBox:
|
if postUrl in postUrlsInBox:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
# is the post cached in memory?
|
# is the post cached in memory?
|
||||||
|
@ -3511,7 +3511,7 @@ def _createBoxIndexed(recentPostsCache: {},
|
||||||
boxActor):
|
boxActor):
|
||||||
totalPostsCount += 1
|
totalPostsCount += 1
|
||||||
postsAddedToTimeline += 1
|
postsAddedToTimeline += 1
|
||||||
postUrlsInBox.append(url)
|
postUrlsInBox.append(postUrl)
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
print('Post not added to timeline')
|
print('Post not added to timeline')
|
||||||
|
@ -3529,7 +3529,7 @@ def _createBoxIndexed(recentPostsCache: {},
|
||||||
postsInBox, boxActor):
|
postsInBox, boxActor):
|
||||||
postsAddedToTimeline += 1
|
postsAddedToTimeline += 1
|
||||||
totalPostsCount += 1
|
totalPostsCount += 1
|
||||||
postUrlsInBox.append(url)
|
postUrlsInBox.append(postUrl)
|
||||||
else:
|
else:
|
||||||
print('WARN: Unable to add post ' + postUrl +
|
print('WARN: Unable to add post ' + postUrl +
|
||||||
' nickname ' + nickname +
|
' nickname ' + nickname +
|
||||||
|
@ -3545,7 +3545,7 @@ def _createBoxIndexed(recentPostsCache: {},
|
||||||
postsInBox, boxActor):
|
postsInBox, boxActor):
|
||||||
postsAddedToTimeline += 1
|
postsAddedToTimeline += 1
|
||||||
totalPostsCount += 1
|
totalPostsCount += 1
|
||||||
postUrlsInBox.append(url)
|
postUrlsInBox.append(postUrl)
|
||||||
else:
|
else:
|
||||||
print('WARN: Unable to add features post ' +
|
print('WARN: Unable to add features post ' +
|
||||||
postUrl + ' nickname ' + nickname +
|
postUrl + ' nickname ' + nickname +
|
||||||
|
|
Loading…
Reference in New Issue