Commits

Takayuki Shimizukawa committed 46f7f6d

fixed: PIL name space maybe not provided when installed by easy_install(distribute) or buildout

Comments (0)

Files changed (1)

sphinx/writers/html.py

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