prevent traceback
This commit is contained in:
parent
20849b4954
commit
6387a980a8
|
@ -1461,7 +1461,7 @@ def _get_img_direct(attrs):
|
||||||
deadline = time.time() + 3
|
deadline = time.time() + 3
|
||||||
while True:
|
while True:
|
||||||
if time.time() > deadline:
|
if time.time() > deadline:
|
||||||
log.debug('Timeout loading image %s ' % attrs['src'] + str(ex))
|
log.debug('Timeout loading image %s ' % attrs['src'])
|
||||||
mem = ''
|
mem = ''
|
||||||
alt = attrs.get('alt', '')
|
alt = attrs.get('alt', '')
|
||||||
if alt:
|
if alt:
|
||||||
|
|
Loading…
Reference in New Issue