diff --git a/src/PIL/ImageCms.py b/src/PIL/ImageCms.py index baa8df19655..33fd5f7f90c 100644 --- a/src/PIL/ImageCms.py +++ b/src/PIL/ImageCms.py @@ -20,7 +20,7 @@ from enum import IntEnum from typing import BinaryIO, Literal, SupportsFloat, SupportsInt, Union -from . import Image +from . import Image, __version__ try: from . import _imagingcms @@ -1018,4 +1018,4 @@ def versions() -> tuple[str, str | None, str, str]: (pyCMS) Fetches versions. """ - return VERSION, core.littlecms_version, sys.version.split()[0], Image.__version__ + return VERSION, core.littlecms_version, sys.version.split()[0], __version__