Merge branch 'master' of github.com:spesmilo/electrum

This commit is contained in:
thomasv 2012-12-20 14:39:40 +01:00
commit 3a6734385c

View file

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