mirror of
https://github.com/Kozea/Radicale.git
synced 2025-08-16 19:00:54 +00:00
Fix types of IMAP config parameters
This commit is contained in:
parent
9a49be1e10
commit
0f0bddedc9
1 changed files with 2 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue