Remove condition

This commit is contained in:
bashrc committed 2020-10-18 11:35:25 +01:00
1 parent ab48e6d456
commit 43096d087a
1 file changed
-3
-3
View File
@@ -251,9 +251,6 @@ def newswireHashtagProcessing(session, baseDir: str, postJsonObject: {},
tagsInConditions = []
tree = hashtagRuleTree(operators, conditionsStr,
tagsInConditions, moderated)
# does the rule contain any hashtags?
if not tagsInConditions:
continue
if not hashtagRuleResolve(tree, hashtags, moderated, content):
continue
# the condition matches, so do something