From 0f0bddedc9cddcc59bc86f4e66078e85e0c0cb5a Mon Sep 17 00:00:00 2001 From: Guillaume Ayoub Date: Wed, 1 May 2013 20:24:05 +0200 Subject: [PATCH] Fix types of IMAP config parameters --- radicale/auth/IMAP.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicale/auth/IMAP.py b/radicale/auth/IMAP.py index a866f30..abb3545 100644 --- a/radicale/auth/IMAP.py +++ b/radicale/auth/IMAP.py @@ -37,8 +37,8 @@ import imaplib from .. import config, log IMAP_SERVER = config.get("auth", "imap_hostname") -IMAP_SERVER_PORT = config.get("auth", "imap_port") -IMAP_USE_SSL = config.get("auth", "imap_ssl") +IMAP_SERVER_PORT = config.getint("auth", "imap_port") +IMAP_USE_SSL = config.getboolean("auth", "imap_ssl") def is_authenticated(user, password):