Skip to content

Commit

Permalink
Fix Windows newline issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorrell committed May 1, 2019
1 parent eb10307 commit baabd5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run_coda_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ def find_creators(items,eprint_id,creators,creator_ids):

print("Running report for ",args.repository)

with open('../'+args.output,'w',encoding = 'utf-8') as fout:
with open('../'+args.output,'w', newline="\n", encoding = 'utf-8') as fout:
if args.output.split('.')[-1] == 'tsv':
file_out = csv.writer(fout,delimiter='\t')
else:
Expand Down

0 comments on commit baabd5c

Please sign in to comment.