diff options
author | streetturtle <streetturtle@users.noreply.github.com> | 2020-12-17 15:19:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-17 15:19:47 -0500 |
commit | 28256cd21c1107903223af9cd414d52debfb336e (patch) | |
tree | c1b425a24bf063201bc2b440d35c5f84e053f407 | |
parent | 878bd6f0cebf5171c991de1d1c3dedd81e3cd1d3 (diff) | |
parent | 51a1b44774ae2f23e2843ec39ec8845bab255a0e (diff) |
Merge pull request #210 from RaubJo/patch-1
Update read_unread_emails.py
-rw-r--r-- | email-widget/read_unread_emails.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/email-widget/read_unread_emails.py b/email-widget/read_unread_emails.py index 607bdcc..fda8188 100644 --- a/email-widget/read_unread_emails.py +++ b/email-widget/read_unread_emails.py @@ -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(): |