1
0
Fork 1
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:
Pascal F 2024-05-24 09:25:54 +02:00
parent 88e17ea684
commit 6dcded0e75
No known key found for this signature in database
GPG key ID: 3C576B538F890866
4 changed files with 13 additions and 13 deletions

View file

@ -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