Skip to content

Commit e10adb0

Browse files
committed
Add correct terminator for write summary.
1 parent 60d8672 commit e10adb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

axelrod/result_set.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -739,7 +739,7 @@ def write_summary(self, filename):
739739
"""
740740
summary_data = self.summarise()
741741
with open(filename, 'w') as csvfile:
742-
writer = csv.writer(csvfile)
742+
writer = csv.writer(csvfile, lineterminator='\n')
743743
writer.writerow(self.player._fields)
744744
for player in summary_data:
745745
writer.writerow(player)

0 commit comments

Comments
 (0)