mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-24 04:45:24 +00:00
- Always use \n as the newline when generating CSVs
This commit is contained in:
@@ -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
|
||||
-----
|
||||
|
||||
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user