Skip to content

Commit

Permalink
Update handle_eml.py - CR changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilappe authored Sep 26, 2023
1 parent a1f6334 commit 48be49c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions parse_emails/handle_eml.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ def handle_eml(file_path, b64=False, file_name=None, parse_only_headers=False, m

elif part.get_filename()\
or "attachment" in part.get("Content-Disposition", "")\
or part.get("X-Attachment-Id")\
or ("image" in part.get("Content-Type", '') and part.get("Content-Transfer-Encoding") == "base64"):

attachment_content_id = part.get('Content-ID')
Expand Down

0 comments on commit 48be49c

Please sign in to comment.