From 9fd12cc646df2de0079d1b04dc7bf0d803cc9c61 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 28 Sep 2021 10:29:29 +0100 Subject: [PATCH] Simplify --- webapp_timeline.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index 0eb334a24..de562f2de 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -871,8 +871,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, # is the post in the memory cache of recent ones? currTlStr = None - if boxName != 'tlmedia' and \ - recentPostsCache.get('index'): + if boxName != 'tlmedia' and recentPostsCache.get('html'): postId = \ removeIdEnding(item['id']).replace('/', '#') if recentPostsCache['html'].get(postId):