diff --git a/voussoirkit/imagetools.py b/voussoirkit/imagetools.py index 1ede548..d10b014 100644 --- a/voussoirkit/imagetools.py +++ b/voussoirkit/imagetools.py @@ -40,7 +40,7 @@ def rotate_by_exif(image): # https://stackoverflow.com/a/26928142 try: - exif = image._getexif() + exif = image.getexif() except AttributeError: return image