diff --git a/PIL/Image.py b/PIL/Image.py index 49c9f6ab2..fb418396f 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -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))