Minor fix

This commit is contained in:
Miroslav Stampar 2015-11-22 15:33:00 +01:00
parent 763b72a3ed
commit 376037123b

View File

@ -1051,7 +1051,7 @@ def _setSocketPreConnect():
if not found:
self._connect(address)
if not hasattr(socket, "_connect"):
if not hasattr(socket.socket, "_connect"):
socket._ready = {}
socket.socket._connect = socket.socket.connect
socket.socket.connect = connect