From 6387a980a8f4edb0eaa336bead381043d502a74c Mon Sep 17 00:00:00 2001
From: Yann Leboulanger <asterix@lagaule.org>
Date: Thu, 8 Dec 2011 21:57:29 +0100
Subject: [PATCH] prevent traceback

---
 src/common/helpers.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/common/helpers.py b/src/common/helpers.py
index 7a96467dba..040423e8e2 100644
--- a/src/common/helpers.py
+++ b/src/common/helpers.py
@@ -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:
-- 
GitLab