mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 09:57:43 +03:00 
			
		
		
		
	Changed exception type to be more specific
This commit is contained in:
		
							parent
							
								
									9b6fe1b039
								
							
						
					
					
						commit
						7a4bf3df0f
					
				| 
						 | 
				
			
			@ -141,7 +141,7 @@ def APP(self, marker):
 | 
			
		|||
        # extract Adobe custom properties
 | 
			
		||||
        try:
 | 
			
		||||
            adobe_transform = s[1]
 | 
			
		||||
        except Exception:
 | 
			
		||||
        except IndexError:
 | 
			
		||||
            pass
 | 
			
		||||
        else:
 | 
			
		||||
            self.info["adobe_transform"] = adobe_transform
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user