mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-11-04 01:47:47 +03:00 
			
		
		
		
	Oops. Fixed a silly mistake.
This commit is contained in:
		
							parent
							
								
									72ecb8752e
								
							
						
					
					
						commit
						87d10dcaeb
					
				| 
						 | 
					@ -166,9 +166,9 @@ class Jpeg2KImageFile(ImageFile.ImageFile):
 | 
				
			||||||
        elif hasattr(self.fp, "seek"):
 | 
					        elif hasattr(self.fp, "seek"):
 | 
				
			||||||
            try:
 | 
					            try:
 | 
				
			||||||
                pos = f.tell()
 | 
					                pos = f.tell()
 | 
				
			||||||
                seek(0, 2)
 | 
					                f.seek(0, 2)
 | 
				
			||||||
                length = f.tell()
 | 
					                length = f.tell()
 | 
				
			||||||
                seek(pos, 0)
 | 
					                f.seek(pos, 0)
 | 
				
			||||||
            except:
 | 
					            except:
 | 
				
			||||||
                length = -1
 | 
					                length = -1
 | 
				
			||||||
        
 | 
					        
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user