Skip to content

Commit

Permalink
Merge pull request #390 from mariocesar/fix_exif_exceptions
Browse files Browse the repository at this point in the history
Getting EXIF data errors
  • Loading branch information
caioariede committed Jul 30, 2015
2 parents 5dda94b + d9ed2cf commit 6490984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sorl/thumbnail/engines/pil_engine.py
Expand Up @@ -69,7 +69,7 @@ def _cropbox(self, image, x, y, x2, y2):
def _orientation(self, image):
try:
exif = image._getexif()
except (AttributeError, IOError, KeyError, IndexError):
except:
exif = None

if exif:
Expand Down

2 comments on commit 6490984

@rryan
Copy link

@rryan rryan commented on 6490984 Aug 15, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is pretty odd -- version 12.3 of sorl-thumbnail on PyPI does not contain this patch yet this commit is a child of commit e769ee7 which is tagged as v12.3.

Any idea why this patch didn't make it into the release @mariocesar?

@mariocesar
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rryan definitively there is a problem, looks like there was a mess merging a PR, I will give it a look and release a new version

Please sign in to comment.