mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 17:36: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):
|
||||
try:
|
||||
__import__("PIL." + module)
|
||||
__import__(module)
|
||||
except ImportError:
|
||||
print("***", feature, "support not installed")
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue
Block a user