mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 02:46:18 +03:00
Add newlines to error message for clarity
This commit is contained in:
parent
0cd84cf9b3
commit
96abb60059
|
@ -56,8 +56,9 @@ try:
|
|||
from . import _imaging as core
|
||||
if PILLOW_VERSION != getattr(core, 'PILLOW_VERSION', None):
|
||||
raise ImportError("The _imaging extension was built for another "
|
||||
"version of Pillow or PIL: Core Version: %s"
|
||||
"Pillow Version: %s" %
|
||||
"version of Pillow or PIL:\n"
|
||||
"Core version: %s\n"
|
||||
"Pillow version: %s" %
|
||||
(getattr(core, 'PILLOW_VERSION', None),
|
||||
PILLOW_VERSION))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user