[10.10.20] clearing stacks
This commit is contained in:
parent
06c95da108
commit
a65be3b9be
@ -95,7 +95,7 @@ class Listener(StreamListener):
|
||||
if 'extended_tweet' in data:
|
||||
# If tweet is over 140 word limit
|
||||
text = data['extended_tweet']['full_text']
|
||||
self.processTweet(text)
|
||||
dumpStack.append(text)
|
||||
|
||||
def processTweet():
|
||||
|
||||
@ -168,6 +168,7 @@ def createHourJob():
|
||||
compound = round(ovCompound/len(hourStack), 3)
|
||||
|
||||
hourStack.clear()
|
||||
dumpStack.clear()
|
||||
|
||||
sendToArtemis(pos, neu, neg, compound)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user