Set default socket timeout to 3 seconds

This commit is contained in:
Kurt Harriger 2014-12-22 10:45:22 -07:00
parent 795bc51da4
commit 76688d7611
1 changed files with 1 additions and 0 deletions

View File

@ -32,6 +32,7 @@ import threading
# Used for bound_interface
socket_socket = socket.socket
socket.setdefaulttimeout(3)
try:
import xml.etree.cElementTree as ET