Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3760371

Browse files
committed
Minor fix
1 parent 763b72a commit 3760371

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ def connect(self, address):
10511051
if not found:
10521052
self._connect(address)
10531053

1054-
if not hasattr(socket, "_connect"):
1054+
if not hasattr(socket.socket, "_connect"):
10551055
socket._ready = {}
10561056
socket.socket._connect = socket.socket.connect
10571057
socket.socket.connect = connect

0 commit comments

Comments
 (0)