Skip to content

Commit

Permalink
enum can't be None
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
  • Loading branch information
hugovk and radarhere authored Mar 27, 2024
1 parent 98c7d90 commit 73bf044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PIL/TiffTags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 73bf044

Please sign in to comment.