Skip to content

Commit

Permalink
Update cli.py
Browse files Browse the repository at this point in the history
Added changed from PR #427
  • Loading branch information
Kuzuto authored Sep 2, 2023
1 parent 3f765ba commit 64d6ea6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsedmarc/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def process_reports(reports_):
pool.join()

for result in results:
if type(result[0]) is InvalidDMARCReport:
if isinstance(result[0], InvalidDMARCReport):
logger.error("Failed to parse {0} - {1}".format(result[1],
result[0]))
else:
Expand Down

0 comments on commit 64d6ea6

Please sign in to comment.