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])