Fix types of IMAP config parameters
This commit is contained in:
parent
9a49be1e10
commit
0f0bddedc9
@ -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…
x
Reference in New Issue
Block a user