From 13a3c9563501f607821e49b9cd2c63c3d70346ee Mon Sep 17 00:00:00 2001 From: Vincent Yiu Date: Thu, 1 Apr 2021 21:32:56 +0800 Subject: [PATCH] Fix CSV :) --- LinkedInt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LinkedInt.py b/LinkedInt.py index d36eea7..432706c 100644 --- a/LinkedInt.py +++ b/LinkedInt.py @@ -310,8 +310,8 @@ def get_search(): f.write(foot.encode()) f.close() f = open(baseDir + '{}.csv'.format(outfile), 'wb') - #newcsv='\n'.join(csv) - #f.writelines(newcsv.encode()) + newcsv='\n'.join(csv) + f.writelines(newcsv.encode()) for x in csv: f.write(x.join('\n').encode()) f.close()