Force \n as endline
Closes: #15 On windows python uses \r\n when saving, but \n when loading so it is a mess. So i need to force it.
This commit is contained in:
parent
c44a9abff4
commit
821b96c6e8
@ -113,7 +113,7 @@ class Relation:
|
||||
format as defined in RFC4180.
|
||||
'''
|
||||
import csv
|
||||
with open(filename, 'w') as fp:
|
||||
with open(filename, 'w', newline='\n') as fp:
|
||||
writer = csv.writer(fp) # Creating csv writer
|
||||
|
||||
# It wants an iterable containing iterables
|
||||
|
Loading…
x
Reference in New Issue
Block a user