summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-06-21 16:50:42 +0200
committerAdam Tauber <asciimoo@gmail.com>2015-06-21 16:50:42 +0200
commitff322d3373c6de934a5a47c12effce2d336d2c6d (patch)
tree61ce62742f6bd4a52239f4d429ce725ce770aac0
parent2eb756c7aaf2ae1dcac8f2f89ec6ef038222d077 (diff)
downloadsearxng-ff322d3373c6de934a5a47c12effce2d336d2c6d.tar.gz
searxng-ff322d3373c6de934a5a47c12effce2d336d2c6d.zip
[fix] debug message parameter
-rw-r--r--searx/webapp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/webapp.py b/searx/webapp.py
index 15f769a3b..fb7157b47 100644
--- 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 = ''