I'm losing the logic of this condition, but

this is a copy of the original, so it should
work
This commit is contained in:
Dimitur Kirov 2006-02-06 10:00:23 +00:00
parent 7815fe8219
commit c3ef6cfbbc
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class NBCommonClient(CommonClient):
def _on_connected(self):
self.connected = 'tcp'
if self._Ssl or self.Connection.getPort() in (5223, 443):
if self._Ssl is None or self.Connection.getPort() in (5223, 443) or self._Ssl:
try:
transports_nb.NonBlockingTLS().PlugIn(self, now=1)
self.connected = 'ssl'