ssl
This commit is contained in:
@@ -66,7 +66,7 @@ help="using ssl or not (imaps vs imap)", default="true", choices=['false', 'true
|
||||
|
||||
options = parser.parse_args()
|
||||
|
||||
if(options.ssl)
|
||||
if options.ssl == "true"
|
||||
imap_ressource = imaplib.IMAP4_SSL(options.server)
|
||||
else
|
||||
imap_ressource = imaplib.IMAP4(options.server)
|
||||
|
||||
Reference in New Issue
Block a user