Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
stamparm committed Nov 22, 2015
1 parent 763b72a commit 3760371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core/option.py
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ def connect(self, address):
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
Expand Down

0 comments on commit 3760371

Please sign in to comment.