Fix typo.

This commit is contained in:
Shiz 2014-02-16 12:05:58 +01:00
parent 65fc70002e
commit 9e35d669e6
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ class Connection:
sent_messages = []
with self.send_queue_lock:
# ssl.SSLSocket does not allow any flags to be added to send().
if not tls and hasattr(socket, 'MSG_NOSIGNAL'):
if not self.tls and hasattr(socket, 'MSG_NOSIGNAL'):
send_flags = socket.MSG_NOSIGNAL
else:
send_flags = 0