mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
Update read_unread_emails.py
I added the closing ')' on line 27
This commit is contained in:
parent
bec2154948
commit
51a1b44774
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue