Remove ending before checking for cached post

merge-requests/30/head
Bob Mottram 2021-09-28 10:32:47 +01:00
parent 9fd12cc646
commit 4cc4e7b2c7
1 changed files with 1 additions and 2 deletions

View File

@ -872,8 +872,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# is the post in the memory cache of recent ones?
currTlStr = None
if boxName != 'tlmedia' and recentPostsCache.get('html'):
postId = \
removeIdEnding(item['id']).replace('/', '#')
postId = removeIdEnding(item['id']).replace('/', '#')
if recentPostsCache['html'].get(postId):
currTlStr = recentPostsCache['html'][postId]
currTlStr = \