From 6984f667947cc97a8c49626ee47537f3784010bb Mon Sep 17 00:00:00 2001 From: Sam Wenham Date: Sat, 2 Mar 2019 14:10:51 +0000 Subject: Updates required to move to django 1.8 --- imagekit/lib.py | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 imagekit/lib.py (limited to 'imagekit/lib.py') diff --git a/imagekit/lib.py b/imagekit/lib.py deleted file mode 100644 index 65646a4..0000000 --- a/imagekit/lib.py +++ /dev/null @@ -1,17 +0,0 @@ -# Required PIL classes may or may not be available from the root namespace -# depending on the installation method used. -try: - import Image - import ImageFile - import ImageFilter - import ImageEnhance - import ImageColor -except ImportError: - try: - from PIL import Image - from PIL import ImageFile - from PIL import ImageFilter - from PIL import ImageEnhance - from PIL import ImageColor - except ImportError: - raise ImportError('ImageKit was unable to import the Python Imaging Library. Please confirm it`s installed and available on your current Python path.') \ No newline at end of file -- cgit v1.2.3