Skip to content

Commit

Permalink
imap: mypy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pbiering committed Jan 16, 2025
1 parent e80bf58 commit 3df5d28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions radicale/auth/imap.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def __init__(self, configuration) -> None:

def _login(self, login, password) -> str:
try:
connection: imaplib.IMAP4 | imaplib.IMAP4_SSL
if self._security == "tls":
connection = imaplib.IMAP4_SSL(
host=self._host, port=self._port,
Expand Down

0 comments on commit 3df5d28

Please sign in to comment.