mirror of https://gitlab.com/bashrc2/epicyon
Remove condition
parent
ab48e6d456
commit
43096d087a
|
@ -251,9 +251,6 @@ def newswireHashtagProcessing(session, baseDir: str, postJsonObject: {},
|
||||||
tagsInConditions = []
|
tagsInConditions = []
|
||||||
tree = hashtagRuleTree(operators, conditionsStr,
|
tree = hashtagRuleTree(operators, conditionsStr,
|
||||||
tagsInConditions, moderated)
|
tagsInConditions, moderated)
|
||||||
# does the rule contain any hashtags?
|
|
||||||
if not tagsInConditions:
|
|
||||||
continue
|
|
||||||
if not hashtagRuleResolve(tree, hashtags, moderated, content):
|
if not hashtagRuleResolve(tree, hashtags, moderated, content):
|
||||||
continue
|
continue
|
||||||
# the condition matches, so do something
|
# the condition matches, so do something
|
||||||
|
|
Loading…
Reference in New Issue