diff --git a/src/PIL/TiffTags.py b/src/PIL/TiffTags.py index 469d4def9..89fad7033 100644 --- a/src/PIL/TiffTags.py +++ b/src/PIL/TiffTags.py @@ -26,7 +26,7 @@ class _TagInfo(NamedTuple): name: str type: int | None length: int | None - enum: dict[int, str] | None + enum: dict[str, int] class TagInfo(_TagInfo):