forked from zaclys/searxng
		
	[fix] debug message parameter
This commit is contained in:
		
							parent
							
								
									2eb756c7aa
								
							
						
					
					
						commit
						ff322d3373
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -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 = '' | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Adam Tauber
						Adam Tauber