Fix import of JpegImagePlugin
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 3 Jun 2017 11:37:26 +0000 (13:37 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 3 Jun 2017 11:37:26 +0000 (13:37 +0200)
src/packages/kofoto/exifthumbsupport.py

index d135fb5..09fa1e2 100644 (file)
@@ -1,7 +1,7 @@
 """Read-only support for files with embedded JPEG thumbnail in EXIF header."""
 
 import Image
-import JpegImagePlugin
+from PIL import JpegImagePlugin
 from kofoto import EXIF
 from cStringIO import StringIO