From 8c6b51cd64c8cff11422ff0a189a72fcdbce9afa Mon Sep 17 00:00:00 2001
From: evana <yingwen@student.unimelb.edu.au>
Date: Sun, 3 May 2020 00:04:14 +1000
Subject: [PATCH] Update process.py

---
 couchDB/process.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/couchDB/process.py b/couchDB/process.py
index 85ff091..e9ea86d 100644
--- a/couchDB/process.py
+++ b/couchDB/process.py
@@ -27,7 +27,7 @@ with io.open(file1,'r',encoding="utf-8") as f:
 			tweet = json.loads(line)['text']
 			my_dict['polarity']=TextBlob(tweet).sentiment.polarity
 			my_dict['lang'] = json.loads(line)['lang']
-			json.dump(my_dict,output_file,indent=4)
+			output_file.write(json.dumps(my_dict)+',\n')
 		except:
 			pass
 			
-- 
GitLab