fix: \\
instead of \
This commit is contained in:
parent
0ce2c5fb24
commit
76b36d6141
2
main.py
2
main.py
@ -89,7 +89,7 @@ def get_unforwarded_emails(account_config, logger):
|
|||||||
if isinstance(response_part, tuple):
|
if isinstance(response_part, tuple):
|
||||||
msg = email.message_from_bytes(response_part[1])
|
msg = email.message_from_bytes(response_part[1])
|
||||||
emails.append((email_id, msg))
|
emails.append((email_id, msg))
|
||||||
imap.store(email_id, '+FLAGS', '\Seen')
|
imap.store(email_id, '+FLAGS', '\\Seen')
|
||||||
|
|
||||||
imap.logout()
|
imap.logout()
|
||||||
if len(emails) > 0:
|
if len(emails) > 0:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user