From 886852b8af86148a11b08be2115085630d3cf4d2 Mon Sep 17 00:00:00 2001 From: Kevin Chollet Date: Fri, 4 May 2018 21:37:46 +0200 Subject: [PATCH] ssl --- imap_recursor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imap_recursor.py b/imap_recursor.py index 1c84d96..1734bd0 100755 --- a/imap_recursor.py +++ b/imap_recursor.py @@ -66,9 +66,9 @@ help="using ssl or not (imaps vs imap)", default="true", choices=['false', 'true options = parser.parse_args() -if options.ssl == "true" +if options.ssl == "true" : imap_ressource = imaplib.IMAP4_SSL(options.server) -else +else : imap_ressource = imaplib.IMAP4(options.server)