- Always use \n as the newline when generating CSVs

This commit is contained in:
Sean Whalen
2018-09-19 11:30:34 -04:00
parent 0989a8bb8a
commit 0a694b0a24
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -11,6 +11,7 @@ GeoIP DB to avoid being blocked by security proxies
system path
- Fix `SMTP AUTH extension not supported by server` error on some SMTP servers
(#12)
- Always use `\n` as the newline when generating CSVs
3.9.7
-----
+1 -1
View File
@@ -624,7 +624,7 @@ def parsed_aggregate_reports_to_csv(reports):
"envelope_to", "dkim_domains", "dkim_selectors", "dkim_results",
"spf_domains", "spf_scopes", "spf_results"]
csv_file_object = StringIO()
csv_file_object = StringIO(newline="\n")
writer = DictWriter(csv_file_object, fields)
writer.writeheader()