[10.10.20] Testing
This commit is contained in:
parent
5882204833
commit
8ff0f53887
@ -134,6 +134,8 @@ def processTweet():
|
|||||||
|
|
||||||
hourStack.append(hourTweet)
|
hourStack.append(hourTweet)
|
||||||
processStack.clear()
|
processStack.clear()
|
||||||
|
else:
|
||||||
|
log("Dump Stack was Empty", 'WARN')
|
||||||
|
|
||||||
def collector(hashtag):
|
def collector(hashtag):
|
||||||
|
|
||||||
@ -181,6 +183,8 @@ def createHourJob():
|
|||||||
hourStack.clear()
|
hourStack.clear()
|
||||||
|
|
||||||
sendToArtemis(pos, neu, neg, compound, type)
|
sendToArtemis(pos, neu, neg, compound, type)
|
||||||
|
else:
|
||||||
|
log("Stack is empty", 'WARN')
|
||||||
|
|
||||||
schedule.every().hour.at(timeF).do(createHourJob).tag("sendToArtemis")
|
schedule.every().hour.at(timeF).do(createHourJob).tag("sendToArtemis")
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user