|  |  | @ -809,12 +809,8 @@ module Submissions | 
			
		
	
		
		
			
				
					
					|  |  |  |       data = cache[attachment.uuid] |  |  |  |       data = cache[attachment.uuid] | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       if ICO_REGEXP.match?(attachment.content_type) |  |  |  |       if ICO_REGEXP.match?(attachment.content_type) | 
			
		
	
		
		
			
				
					
					|  |  |  |         Rollbar.error("Load ICO: #{attachment.uuid}") if defined?(Rollbar) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         LoadIco.call(data) |  |  |  |         LoadIco.call(data) | 
			
		
	
		
		
			
				
					
					|  |  |  |       elsif BMP_REGEXP.match?(attachment.content_type) |  |  |  |       elsif BMP_REGEXP.match?(attachment.content_type) | 
			
		
	
		
		
			
				
					
					|  |  |  |         Rollbar.error("Load BMP: #{attachment.uuid}") if defined?(Rollbar) |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |         LoadBmp.call(data) |  |  |  |         LoadBmp.call(data) | 
			
		
	
		
		
			
				
					
					|  |  |  |       else |  |  |  |       else | 
			
		
	
		
		
			
				
					
					|  |  |  |         Vips::Image.new_from_buffer(data, '') |  |  |  |         Vips::Image.new_from_buffer(data, '') | 
			
		
	
	
		
		
			
				
					|  |  | 
 |