Revert "Better import for _imagingft"

This reverts commit 089a04bce1.
This commit is contained in:
Alex Clark 2013-03-08 18:41:19 -05:00
parent 44d25a238c
commit 4546d26413

View File

@ -36,7 +36,9 @@ class _imagingft_not_installed:
raise ImportError("The _imagingft C module is not installed")
try:
from PIL import _imagingft as core
import _imagingft
core = _imagingft
del _imagingft
except ImportError:
core = _imagingft_not_installed()