1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-19 10:50:09 +01:00

[fix] debug message parameter

This commit is contained in:
Adam Tauber 2015-06-21 16:50:42 +02:00
parent 2eb756c7aa
commit ff322d3373

View File

@ -697,7 +697,7 @@ def image_proxy():
return '', 400 return '', 400
if not resp.headers.get('content-type', '').startswith('image/'): 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 return '', 400
img = '' img = ''