Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* In some cases, the function dump_IFD() in core/pe/exif.py assigns a string instead of an int as "values". * This value is then used as _cached_orientation in core/pe/photo.py in _get_orientation(). * The method _plat_get_blocks() in qt/pe/photo.py was only expecting an integer for the orientation argument, so we work around the issue for now by ignoring the value if it's a string.
- Loading branch information