mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-02 12:13:26 +03:00
parent
44d25a238c
commit
4546d26413
|
@ -36,7 +36,9 @@ class _imagingft_not_installed:
|
||||||
raise ImportError("The _imagingft C module is not installed")
|
raise ImportError("The _imagingft C module is not installed")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from PIL import _imagingft as core
|
import _imagingft
|
||||||
|
core = _imagingft
|
||||||
|
del _imagingft
|
||||||
except ImportError:
|
except ImportError:
|
||||||
core = _imagingft_not_installed()
|
core = _imagingft_not_installed()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user