From 376037123b9a896b721e58bd1f24cf200044b091 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Sun, 22 Nov 2015 15:33:00 +0100 Subject: [PATCH] Minor fix --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 7c7a39d5e..7fe25005d 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -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