From f0ba118a4669da48212c1411c66a77f5f9793fe7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Thu, 18 Nov 2021 19:17:01 +0000 Subject: [PATCH] Tidying --- webapp_profile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index a7dbcd469..5959a050d 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -312,9 +312,9 @@ def htmlProfileAfterSearch(cssCache: {}, item = newItem if not item.get('actor'): continue - if not isAnnouncedFeedItem and \ - (item['actor'] != personUrl and item['type'] != 'Page'): - continue + if not isAnnouncedFeedItem: + if item['actor'] != personUrl and item['type'] != 'Page': + continue profileStr += \ individualPostAsHtml(signingPrivateKeyPem,