mirror of https://gitlab.com/bashrc2/epicyon
Simplify
parent
361df8a2ae
commit
15e34237e4
|
@ -105,14 +105,9 @@ 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
|
return
|
||||||
break
|
|
||||||
|
|
||||||
if newswireItemBlocked:
|
|
||||||
return
|
|
||||||
|
|
||||||
newswire[dateStr] = [
|
newswire[dateStr] = [
|
||||||
title,
|
title,
|
||||||
|
|
Loading…
Reference in New Issue