summaryrefslogtreecommitdiffstats
path: root/imagekit/lib.py
diff options
context:
space:
mode:
authorSam Wenham <sam@wenhams.co.uk>2019-07-16 00:07:37 +0100
committerSam Wenham <sam@wenhams.co.uk>2019-07-16 00:07:37 +0100
commit08a41941f9e2b35b16548624d5070216dd933f79 (patch)
treecfd0bd7dfc68c77cf66d92d72b6d1d74e6155880 /imagekit/lib.py
parenta26109cb3006dd64e1bec38100397ad636813e98 (diff)
downloadtroggle-08a41941f9e2b35b16548624d5070216dd933f79.tar.gz
troggle-08a41941f9e2b35b16548624d5070216dd933f79.tar.bz2
troggle-08a41941f9e2b35b16548624d5070216dd933f79.zip
Part one of getting troggle to work with django 1.10
Major rework of how survex is processed
Diffstat (limited to 'imagekit/lib.py')
-rw-r--r--imagekit/lib.py17
1 files changed, 0 insertions, 17 deletions
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