From 50e2ef40fddea8410bec972f0e4069c7a0db0e6a Mon Sep 17 00:00:00 2001 From: andrewso <9V5f1FkzI2LD> Date: Mon, 12 Oct 2020 18:05:18 +0100 Subject: [PATCH] [12.10.20] Testing --- src/tweets/collector.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/tweets/collector.py b/src/tweets/collector.py index eda63f1..1097dda 100644 --- a/src/tweets/collector.py +++ b/src/tweets/collector.py @@ -117,16 +117,20 @@ def processTweet(text, type): # processStack = dumpStack.copy() # dumpStack.clear() - log("Processing [{}] Tweet...".format(text), 'INFO') + # log("Processing [{}] Tweet...".format(text), 'INFO') # if len(processStack) != 0: # for tweet in processStack: removedLines = fixLines(text) - removedSpecialChars = cleanTweet(removedLines) - removedSpacing = removeSpacing(removedSpecialChars[0]) - tweetLength = checkLength(removedSpacing) + log("fixLines", 'DEBUG') - log("Boop1", 'DEBUG') + removedSpecialChars = cleanTweet(removedLines) + log("cleanTweet", 'DEBUG') + removedSpacing = removeSpacing(removedSpecialChars[0]) + log("removeSpacing", 'DEBUG') + + tweetLength = checkLength(removedSpacing) + log("checkLength", 'DEBUG') if tweetLength == True: checkIfEnglish = detectLaguage(removedSpecialChars[0])