Commit 8040fed6 authored by Francesco Poldi's avatar Francesco Poldi

Removed duplicated tweets in object

parent d20a2ed6
...@@ -99,9 +99,6 @@ async def checkData(tweet, location, config, conn): ...@@ -99,9 +99,6 @@ async def checkData(tweet, location, config, conn):
if config.Elasticsearch: if config.Elasticsearch:
elasticsearch.Tweet(tweet, config) elasticsearch.Tweet(tweet, config)
if config.Store_object:
tweets_object.append(tweet) #twint.tweet.tweet
_output(tweet, output, config) _output(tweet, output, config)
async def Tweets(tweets, location, config, conn, url=''): async def Tweets(tweets, location, config, conn, url=''):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment