Commits

Georg Brandl  committed 645a650

#599: Import PIL as ``from PIL import Image``.

  • Participants
  • Parent commits b18f893

Comments (0)

Files changed (2)

 Release 1.0.7 (in development)
 ==============================
 
+* #599: Import PIL as ``from PIL import Image``.
+
 * #558: Fix longtables with captions in LaTeX output.
 
 * Make token references work as hyperlinks again in LaTeX output.

File sphinx/writers/html.py

 from sphinx.util.smartypants import sphinx_smarty_pants
 
 try:
-    import Image                        # check for the Python Imaging Library
+    from PIL import Image        # check for the Python Imaging Library
 except ImportError:
     Image = None