From c536a8a0c860d1a9685ef0a3be1b6c51e4ba2215 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 17 Oct 2020 15:42:23 +0100 Subject: [PATCH] Remove hash --- newswire.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newswire.py b/newswire.py index bb63b06f..c1009c85 100644 --- a/newswire.py +++ b/newswire.py @@ -87,7 +87,7 @@ def addNewswireDictEntry(baseDir: str, newswire: {}, dateStr: str, newswireItemBlocked = False if tags: for tag in tags: - if isBlockedHashtag(baseDir, tag): + if isBlockedHashtag(baseDir, tag.replace('#', '')): newswireItemBlocked = True break if not newswireItemBlocked: