Minor patch

This commit is contained in:
Miroslav Stampar 2016-01-24 22:05:08 +01:00
parent c6c5a937f9
commit c34eaa1ce8

View File

@ -1037,10 +1037,10 @@ def _setSocketPreConnect():
s._connect(address)
with kb.locks.socket:
socket._ready[key].append(s._sock)
except socket.error:
pass
except KeyboardInterrupt:
break
except:
pass
finally:
time.sleep(0.01)