summaryrefslogtreecommitdiff
blob: 1b7a1be76f74031a94319330751bddbdfa83a5b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# See revision 53 in upstream svn
# https://bugs.gentoo.org/show_bug.cgi?id=471496
--- a/impressive.py
+++ b/impressive.py
@@ -182,8 +182,8 @@
     from OpenGL.GL import *
     import pygame
     from pygame.locals import *
-    import Image, ImageDraw, ImageFont, ImageFilter
-    import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin
+    from PIL import Image, ImageDraw, ImageFont, ImageFilter
+    from PIL import TiffImagePlugin, BmpImagePlugin, JpegImagePlugin, PngImagePlugin, PpmImagePlugin
 except (ValueError, ImportError), err:
     print >>sys.stderr, "Oops! Cannot load necessary modules:", err
     print >>sys.stderr, """To use Impressive, you need to install the following Python modules: