Commit b22a1cdf authored by Francesco Poldi's avatar Francesco Poldi

Fixed WriteCSV and WriteJSON

parent 35783101
...@@ -146,9 +146,9 @@ async def Tweets(tw, config, conn): ...@@ -146,9 +146,9 @@ async def Tweets(tw, config, conn):
if config.Output != None: if config.Output != None:
if config.Store_csv: if config.Store_csv:
writeCSV(Tweet) writeCSV(Tweet, config.Output)
elif config.Store_json: elif config.Store_json:
writeJSON(Tweet) writeJSON(Tweet, config.Output)
else: else:
write(output, config.Output) 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