mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	all original tests pass
This commit is contained in:
		
							parent
							
								
									de53889711
								
							
						
					
					
						commit
						663f881b21
					
				| 
						 | 
				
			
			@ -1311,8 +1311,10 @@ class Image:
 | 
			
		|||
        self.load()
 | 
			
		||||
        if self.readonly:
 | 
			
		||||
            self._copy()
 | 
			
		||||
            self.pyaccess = None
 | 
			
		||||
            self.load()
 | 
			
		||||
            
 | 
			
		||||
        if self.pyaccess: # undone , what about the readonly?  Fix premerge
 | 
			
		||||
        if self.pyaccess: 
 | 
			
		||||
            return self.pyaccess.putpixel(xy,value)
 | 
			
		||||
        return self.im.putpixel(xy, value)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user