Commit d4a4538f authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

Changed CSV delimiter

parent 258bd8e6
...@@ -98,7 +98,7 @@ async def getTweets(init): ...@@ -98,7 +98,7 @@ async def getTweets(init):
if arg.csv: if arg.csv:
dat = [tweetid, date, time, timezone, username, text] dat = [tweetid, date, time, timezone, username, text]
with open(arg.o, "a", newline='') as csv_file: with open(arg.o, "a", newline='') as csv_file:
writer = csv.writer(csv_file, delimiter=",") writer = csv.writer(csv_file, delimiter="|")
writer.writerow(dat) writer.writerow(dat)
else: else:
print(output, file=open(arg.o, "a")) print(output, file=open(arg.o, "a"))
......
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