Fixed a condition
This commit is contained in:
@@ -13,7 +13,7 @@ class ImapTransport(object):
|
|||||||
self.port = port
|
self.port = port
|
||||||
|
|
||||||
if ssl:
|
if ssl:
|
||||||
if usesslcontext = True:
|
if usesslcontext is True:
|
||||||
context = pythonssllib.create_default_context()
|
context = pythonssllib.create_default_context()
|
||||||
else:
|
else:
|
||||||
context = None
|
context = None
|
||||||
|
|||||||
Reference in New Issue
Block a user