Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Codechange: Simplify Pillow version detection
Previously, this tried various combinations of version variables. However, some of these are deprecated by Pillow and the 6.0.0 release notes recommend simply using `PIL.__version` instead. This attribute is available since Pillow 3.4.0, so there is no need for any compatibility fallbacks. This relates to #29, #39 and #54.
- Loading branch information