This commit is contained in:
Julien Pivotto 2011-03-23 14:24:13 +01:00
parent 04cdf1bc2e
commit eceee142e9
1 changed files with 1 additions and 1 deletions

View File

@ -487,7 +487,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
def _get_img(self, attrs):
mem, alt = '', ''
# Wait maximum 1s for connection
# Wait maximum 5s for connection
socket.setdefaulttimeout(5)
try:
req = urllib2.Request(attrs['src'])