Fix typo in exception message

Signed-off-by: Benedikt Heine <bebe@bebehei.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
This commit is contained in:
Benedikt Heine 2018-07-02 17:31:23 +02:00 committed by Nicolas Sebrecht
parent 6ef5937a5c
commit d3ba837900

View File

@ -101,7 +101,7 @@ class IMAPServer(object):
self.starttls = repos.getstarttls() self.starttls = repos.getstarttls()
if self.tlslevel is not "tls_compat" and self.sslversion is None: if self.tlslevel is not "tls_compat" and self.sslversion is None:
raise Exception("When 'tls_version' is not 'tls_compat' " raise Exception("When 'tls_level' is not 'tls_compat' "
"the 'ssl_version' must be set explicitly.") "the 'ssl_version' must be set explicitly.")
self.oauth2_refresh_token = repos.getoauth2_refresh_token() self.oauth2_refresh_token = repos.getoauth2_refresh_token()