mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Update src/PIL/PpmImagePlugin.py
Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									4be51c46eb
								
							
						
					
					
						commit
						353d2a34ed
					
				| 
						 | 
				
			
			@ -76,7 +76,7 @@ class PpmImageFile(ImageFile.ImageFile):
 | 
			
		|||
        self.custom_mimetype = {
 | 
			
		||||
            b"P4": "image/x-portable-bitmap",
 | 
			
		||||
            b"P5": "image/x-portable-graymap",
 | 
			
		||||
            b"P6": "image/x-portable-pixmap"
 | 
			
		||||
            b"P6": "image/x-portable-pixmap",
 | 
			
		||||
        }.get(magic_number)
 | 
			
		||||
 | 
			
		||||
        if mode == "1":
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user