Merge pull request #64 from EagleTM/master

sockettimeout for header downloads
This commit is contained in:
EagleTM 2012-12-19 14:56:20 -08:00
commit 6c8bb596a4

View file

@ -298,7 +298,8 @@ class WalletVerifier(threading.Thread):
return
try:
import urllib
import urllib, socket
socket.setdefaulttimeout(30)
print_error("downloading ", self.headers_url )
urllib.urlretrieve(self.headers_url, filename)
except: