From 8f41ce4de117112e0f53643f601f77ea27ee999c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 17 Oct 2020 14:41:20 +0100 Subject: [PATCH] Unused variable --- newsdaemon.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/newsdaemon.py b/newsdaemon.py index 5d65dd812..e18a9bad0 100644 --- a/newsdaemon.py +++ b/newsdaemon.py @@ -187,7 +187,7 @@ def newswireHashtagProcessing(session, baseDir: str, postJsonObject: {}, if port != 80 and port != 443: domainFull = domain + ':' + str(port) - actionOccurred = False + # actionOccurred = False operators = ('not', 'and', 'or') for ruleStr in rules: if not ruleStr: @@ -237,7 +237,7 @@ def newswireHashtagProcessing(session, baseDir: str, postJsonObject: {}, content += hashtagHtml postJsonObject['object']['content'] = content storeHashTags(baseDir, 'news', postJsonObject) - actionOccurred = True + # actionOccurred = True # remove a hashtag if actionStr.startswith('remove '): @@ -259,7 +259,7 @@ def newswireHashtagProcessing(session, baseDir: str, postJsonObject: {}, content.replace(hashtagHtml, '').replace(' ', ' ') postJsonObject['object']['content'] = content del postJsonObject['object']['tag'][htId] - actionOccurred = True + # actionOccurred = True # TODO # If routing to another instance