Yet another refactoring fix

This commit is contained in:
Sean Whalen
2018-10-11 13:39:03 -04:00
parent 231a921d5c
commit 7728713ae8
+1 -1
View File
@@ -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