mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36:18 +03:00
parent
44d25a238c
commit
4546d26413
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user