mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Merge pull request #121 from cgohlke/patch-2
Fix `support not installed` messages during selftest
This commit is contained in:
commit
b909f4f0da
|
@ -157,7 +157,7 @@ def testimage():
|
||||||
|
|
||||||
def check_module(feature, module):
|
def check_module(feature, module):
|
||||||
try:
|
try:
|
||||||
__import__("PIL." + module)
|
__import__(module)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("***", feature, "support not installed")
|
print("***", feature, "support not installed")
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user