1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

Updated Pillow (close #95)

This commit is contained in:
Paweł Jastrzębski
2014-07-03 09:28:17 +02:00
parent 623f615dd9
commit 5efb5d6dbb
4 changed files with 10 additions and 10 deletions

View File

@@ -33,10 +33,10 @@ missing = []
try:
# noinspection PyUnresolvedReferences
import PIL
if tuple(map(int, ('2.3.0'.split(".")))) > tuple(map(int, (PIL.PILLOW_VERSION.split(".")))):
missing.append('Pillow 2.3.0+')
if tuple(map(int, ('2.5.0'.split(".")))) > tuple(map(int, (PIL.PILLOW_VERSION.split(".")))):
missing.append('Pillow 2.5.0+')
except ImportError:
missing.append('Pillow 2.3.0+')
missing.append('Pillow 2.5.0+')
if len(missing) > 0:
try:
# noinspection PyUnresolvedReferences