mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-07-09 02:05:09 +00:00
Yet another refactoring fix
This commit is contained in:
@@ -639,7 +639,7 @@ def parse_report_email(input_, nameservers=None, timeout=2.0):
|
||||
try:
|
||||
if is_outlook_msg(input_):
|
||||
input_ = convert_outlook_msg(input_)
|
||||
msg = mailparser.parse_from_string(input_).headers_json
|
||||
msg = mailparser.parse_from_string(input_)
|
||||
except Exception as e:
|
||||
raise ParserError(e.__str__())
|
||||
msg_headers = msg.headers_json
|
||||
|
||||
Reference in New Issue
Block a user