prevent traceback

This commit is contained in:
Yann Leboulanger 2011-12-08 21:57:29 +01:00
parent 20849b4954
commit 6387a980a8
1 changed files with 1 additions and 1 deletions

View File

@ -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: