Fix conversion of reports to CSV

This commit is contained in:
Sean Whalen
2019-11-06 12:55:29 -05:00
parent 3721b25a04
commit b81aba4a58
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -3,7 +3,8 @@
- Fix typos (PR #119)
- Make CSV output match JSON output (Issue # 22)
- Graceful proccessing of invalid aggregate DMARC reports (PR #122)
- Graceful processing of invalid aggregate DMARC reports (PR #122)
- Remove Python 3.4 support
6.6.1
-----
+1 -1
View File
@@ -426,7 +426,7 @@ def parsed_aggregate_reports_to_csv_rows(reports):
return str(obj).lower()
if type(reports) == OrderedDict:
reports = [reports['report']]
reports = [reports]
rows = []