main
Bob Mottram 2020-10-25 10:18:07 +00:00
parent 361df8a2ae
commit 15e34237e4
1 changed files with 1 additions and 6 deletions

View File

@ -105,13 +105,8 @@ def addNewswireDictEntry(baseDir: str, domain: str,
tags.append(tag) tags.append(tag)
# check that no tags are blocked # check that no tags are blocked
newswireItemBlocked = False
for tag in tags: for tag in tags:
if isBlockedHashtag(baseDir, tag.replace('#', '')): if isBlockedHashtag(baseDir, tag.replace('#', '')):
newswireItemBlocked = True
break
if newswireItemBlocked:
return return
newswire[dateStr] = [ newswire[dateStr] = [