Commits

Takayuki Shimizukawa committed 6b0b9f9

backout 46f7f6d0cde8 change: using PIL namespace is correct.

Comments (0)

Files changed (1)

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