From 43096d087a7e8d2f5b156734c5ec14c8cfdd76ca Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 18 Oct 2020 11:35:25 +0100 Subject: [PATCH] Remove condition --- newsdaemon.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/newsdaemon.py b/newsdaemon.py index e6dc0c26..f3d8c08b 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -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