From 15e34237e444a58b2bce93006376fab52a1c27ff Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 25 Oct 2020 10:18:07 +0000 Subject: [PATCH] Simplify --- newswire.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/newswire.py b/newswire.py index f5319206d..ab8e4fc1e 100644 --- a/newswire.py +++ b/newswire.py @@ -105,14 +105,9 @@ def addNewswireDictEntry(baseDir: str, domain: str, tags.append(tag) # check that no tags are blocked - newswireItemBlocked = False for tag in tags: if isBlockedHashtag(baseDir, tag.replace('#', '')): - newswireItemBlocked = True - break - - if newswireItemBlocked: - return + return newswire[dateStr] = [ title,