mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-09 22:38:19 +02:00
Improve documentation and flake8
This commit is contained in:
parent
88e17ea684
commit
6dcded0e75
4 changed files with 13 additions and 13 deletions
|
|
@ -53,7 +53,7 @@ class ImapTransport(EmailTransport):
|
|||
try:
|
||||
self.server.close()
|
||||
self.server.logout()
|
||||
except (imaplib.IMAP4.error, OSError) as e:
|
||||
except (imaplib.IMAP4.error, OSError) as e:
|
||||
logger.warning(f'Failed to close IMAP connection, ignoring: {e}')
|
||||
pass
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue