This commit is contained in:
2018-05-04 21:37:22 +02:00
parent 374d10a2a2
commit 0a4b897a04

View File

@@ -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)