mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-04-04 20:58:53 +00:00
Fix conversion of reports to CSV
This commit is contained in:
@@ -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
|
||||
-----
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user