diff --git a/LinkedInt.py b/LinkedInt.py index e841e33..781524f 100644 --- a/LinkedInt.py +++ b/LinkedInt.py @@ -311,7 +311,7 @@ def get_search(): f.close() f = open(baseDir + '{}.csv'.format(outfile), 'wb') newcsv='\n'.join(csv) - f.writelines(newcsv.encode()) + f.write(newcsv.encode()) for x in csv: f.write(x.join('\n').encode()) f.close()