mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Do not set core to DeferredError (#9166)
This commit is contained in:
		
						commit
						9f5d1f71a0
					
				| 
						 | 
					@ -103,7 +103,6 @@ try:
 | 
				
			||||||
        raise ImportError(msg)
 | 
					        raise ImportError(msg)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
except ImportError as v:
 | 
					except ImportError as v:
 | 
				
			||||||
    core = DeferredError.new(ImportError("The _imaging C module is not installed."))
 | 
					 | 
				
			||||||
    # Explanations for ways that we know we might have an import error
 | 
					    # Explanations for ways that we know we might have an import error
 | 
				
			||||||
    if str(v).startswith("Module use of python"):
 | 
					    if str(v).startswith("Module use of python"):
 | 
				
			||||||
        # The _imaging C module is present, but not compiled for
 | 
					        # The _imaging C module is present, but not compiled for
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user