hotgluexyz / target-csv

Write Singer data to CSV files
GNU Affero General Public License v3.0
5 stars 8 forks source link

End of Line on Windows Default giving "CR CRLF" for every new line #4

Open visch opened 3 years ago

visch commented 3 years ago

Getting 3 characters for new lines. CR and CRLF on Windows for each record :/ . If it was just unix style line feeds that'd be workable for me. Not sure what's causing this

visch commented 3 years ago

https://docs.python.org/3/library/csv.html#id1 this is documented in the footnotes. When calling write we need to specify a newline constraint. PR Incoming