Commit 35783101 authored by Francesco Poldi's avatar Francesco Poldi

Fixed Store_csv and Store_json

parent 2350a78b
......@@ -145,9 +145,9 @@ async def Tweets(tw, config, conn):
output+= " | {} replies {} retweets {} likes".format(Tweet.replies, Tweet.retweets, Tweet.likes)
if config.Output != None:
if config.Csv:
if config.Store_csv:
writeCSV(Tweet)
elif config.Json:
elif config.Store_json:
writeJSON(Tweet)
else:
write(output, config.Output)
......
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