aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--climl/imap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/climl/imap.py b/climl/imap.py
index 5bd2834..36668d4 100644
--- a/climl/imap.py
+++ b/climl/imap.py
@@ -39,7 +39,7 @@ def connect_to_imap(conf, password):
if conf.get('imap.tls_nocheck_ca', False):
# don't check if the certificate is trusted by a certificate authority
- ssl_context.verify_mode = backports.ssl.CERT_NONE
+ ssl_context.verify_mode = ssl.CERT_NONE
connection = imapclient.IMAPClient(host=conf.get('imap.server'),
ssl=conf.get('imap.tls', True),