logo

searx

Unnamed repository; edit this file 'description' to name the repository.
commit: ff322d3373c6de934a5a47c12effce2d336d2c6d
parent: 2eb756c7aaf2ae1dcac8f2f89ec6ef038222d077
Author: Adam Tauber <asciimoo@gmail.com>
Date:   Sun, 21 Jun 2015 16:50:42 +0200

[fix] debug message parameter

Diffstat:

searx/webapp.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/searx/webapp.py b/searx/webapp.py @@ -697,7 +697,7 @@ def image_proxy(): return '', 400 if not resp.headers.get('content-type', '').startswith('image/'): - logger.debug('image-proxy: wrong content-type: {0}'.format(resp.get('content-type'))) + logger.debug('image-proxy: wrong content-type: {0}'.format(resp.headers.get('content-type'))) return '', 400 img = ''