Skip to content

Commit 7b4b002

Browse files
committedJan 29, 2016
actually respect the preserve_exif_data option
1 parent 82fb86d commit 7b4b002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎nikola/image_processing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ def resize_image(self, src, dst, max_size, bigger_panoramas=True, preserve_exif_
8585
break
8686
try:
8787
im.thumbnail(size, Image.ANTIALIAS)
88-
if _exif is not None:
88+
if _exif is not None and preserve_exif_data:
8989
im.save(dst, exif=_exif)
9090
else:
9191
im.save(dst)

0 commit comments

Comments
 (0)
Please sign in to comment.