Update rotate_by_exif call.
This commit is contained in:
		
							parent
							
								
									f003f55fca
								
							
						
					
					
						commit
						40a3e9d1a0
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -208,7 +208,7 @@ def generate_image_thumbnail(filepath, width, height): | ||||||
|     if not os.path.isfile(filepath): |     if not os.path.isfile(filepath): | ||||||
|         raise FileNotFoundError(filepath) |         raise FileNotFoundError(filepath) | ||||||
|     image = PIL.Image.open(filepath) |     image = PIL.Image.open(filepath) | ||||||
|     image = imagetools.rotate_by_exif(image) |     (image, exif) = imagetools.rotate_by_exif(image) | ||||||
|     (image_width, image_height) = image.size |     (image_width, image_height) = image.size | ||||||
|     (new_width, new_height) = imagetools.fit_into_bounds( |     (new_width, new_height) = imagetools.fit_into_bounds( | ||||||
|         image_width=image_width, |         image_width=image_width, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue