aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVG <vg@devys.org>2016-05-19 13:19:42 +0200
committerVG <vg@devys.org>2016-05-19 13:19:42 +0200
commitc22ba520026b4f9b96d205d86ba207e39fc49d1b (patch)
treed41b256a4eae5574414de361fe3327b8f10ba2e9
parentadec220ed4a1a90fce6bc15990325b6a71c52915 (diff)
downloadcliml-c22ba520026b4f9b96d205d86ba207e39fc49d1b.tar.gz
climl-c22ba520026b4f9b96d205d86ba207e39fc49d1b.tar.bz2
climl-c22ba520026b4f9b96d205d86ba207e39fc49d1b.zip
Fix module name in code
-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),