For frenzy Ctrl-C pressing

This commit is contained in:
Miroslav Stampar 2016-01-11 00:08:38 +01:00
parent 78a512500d
commit 7e78554e97

View File

@ -1039,6 +1039,8 @@ def _setSocketPreConnect():
socket._ready[key].append(s._sock)
except socket.error:
pass
except KeyboardInterrupt:
break
finally:
time.sleep(0.01)