merge-requests/8/head
Bob Mottram 2020-11-25 11:09:16 +00:00
parent a8365bfaea
commit 04ab7c67d8
1 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,8 @@ def htmlHashTagSwarm(baseDir: str, actor: str, translate: {}) -> str:
tagSwarm = []
domainHistogram = {}
# Load the blocked hashtags into memory.
# This avoids needing to repeatedly load the blocked file for each hashtag
blockedStr = ''
globalBlockingFilename = baseDir + '/accounts/blocking.txt'
if os.path.isfile(globalBlockingFilename):