Update read_unread_emails.py

I added the closing ')' on line 27
This commit is contained in:
RaubJo 2020-11-14 21:30:10 -06:00 committed by GitHub
parent bec2154948
commit 51a1b44774
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ def process_mailbox(M):
local_date = datetime.datetime.fromtimestamp(email.utils.mktime_tz(date_tuple))
print("{}: {}".format(header, local_date.strftime("%a, %d %b %Y %H:%M:%S")))
else:
print('{}: {}'.format(header, hdr)
print('{}: {}'.format(header, hdr))
# with code below you can process text of email
# if msg.is_multipart():
# for payload in msg.get_payload():