Skip to content

Commit

Permalink
Merge pull request #711 from Ducksual/710
Browse files Browse the repository at this point in the history
Fix for windows CSV writer newline issue.
  • Loading branch information
meatballs committed Sep 19, 2016
2 parents ae21652 + 848f28b commit 45641b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion axelrod/tournament.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def setup_output_file(self, filename=None):
# Setup a temporary file
self.outputfile = NamedTemporaryFile(mode='w')
filename = self.outputfile.name
self.writer = csv.writer(self.outputfile)
self.writer = csv.writer(self.outputfile, lineterminator='\n')
# Save filename for loading ResultSet later
self.filename = filename

Expand Down

0 comments on commit 45641b1

Please sign in to comment.