Skip to content

Commit

Permalink
why
Browse files Browse the repository at this point in the history
  • Loading branch information
radarhere committed Sep 8, 2023
1 parent e348017 commit 1517903
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/ImageOps.py
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ def exif_transpose(image, *, in_place=False):
if in_place and ExifTags.Base.Orientation in getattr(
exif_image, "tag_v2", {}
):
del exif_image.tag_v2[ExifTags.Base.Orientation]
pass#del exif_image.tag_v2[ExifTags.Base.Orientation]
if "exif" in exif_image.info:
exif_image.info["exif"] = exif.tobytes()
elif "Raw profile type exif" in exif_image.info:
Expand Down

0 comments on commit 1517903

Please sign in to comment.