mirror of https://gitlab.com/bashrc2/epicyon
Simplify
parent
361df8a2ae
commit
15e34237e4
|
@ -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] = [
|
||||||
|
|
Loading…
Reference in New Issue