Skip to content

Commit

Permalink
Use extract_content from google_takeout_email rather than get_payload()
Browse files Browse the repository at this point in the history
  • Loading branch information
rantahar committed Feb 13, 2024
1 parent cee06f2 commit 21247c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niimpy/reading/google_takeout.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,7 @@ def email_activity(
to_address = str(message.get("Sender", to_address))
to_address = str(message.get("sender", to_address))

content = str(message.get_payload())
content = email_utils.extract_content(message)

row = {
"timestamp": timestamp,
Expand Down

0 comments on commit 21247c6

Please sign in to comment.