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