Commit 7616208a authored by Cody Zacharias's avatar Cody Zacharias Committed by GitHub

CSV Entries are now wrapped around quotes

parent 35ae7511
......@@ -29,7 +29,7 @@ def writeCSV(Tweet, file):
Tweet.location,
",".join(Tweet.hashtags)]
with open(file, "a", newline='', encoding="utf-8") as csv_file:
writer = csv.writer(csv_file, delimiter="|")
writer = csv.writer(csv_file, quoting=csv.QUOTE_ALL, delimiter=",")
writer.writerow(data)
def writeJSON(Tweet, file):
......
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