Remove condition

merge-requests/8/head
Bob Mottram 2020-10-18 11:35:25 +01:00
parent ab48e6d456
commit 43096d087a
1 changed files with 0 additions and 3 deletions

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