mirror of
				https://github.com/python-pillow/Pillow.git
				synced 2025-10-30 23:47:27 +03:00 
			
		
		
		
	[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
		
							parent
							
								
									62c58c2d00
								
							
						
					
					
						commit
						8cab1c122c
					
				|  | @ -56,7 +56,7 @@ class JpegXlImageFile(ImageFile.ImageFile): | ||||||
|             if n_frames > 0: |             if n_frames > 0: | ||||||
|                 self.n_frames = n_frames |                 self.n_frames = n_frames | ||||||
|                 self._tps_dur_secs = tps_num / tps_denom |                 self._tps_dur_secs = tps_num / tps_denom | ||||||
|          | 
 | ||||||
|         # TODO: handle libjxl time codes |         # TODO: handle libjxl time codes | ||||||
|         self.__timestamp = 0 |         self.__timestamp = 0 | ||||||
| 
 | 
 | ||||||
|  | @ -112,7 +112,7 @@ class JpegXlImageFile(ImageFile.ImageFile): | ||||||
| 
 | 
 | ||||||
|         return data, timestamp, duration, is_last |         return data, timestamp, duration, is_last | ||||||
| 
 | 
 | ||||||
|     def _rewind(self, hard: bool=False) -> None: |     def _rewind(self, hard: bool = False) -> None: | ||||||
|         if hard: |         if hard: | ||||||
|             self._decoder.rewind() |             self._decoder.rewind() | ||||||
|         self.__physical_frame = 0 |         self.__physical_frame = 0 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user