aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/reader/image/_pillow.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsie/reader/image/_pillow.py')
-rw-r--r--bsie/reader/image/_pillow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsie/reader/image/_pillow.py b/bsie/reader/image/_pillow.py
index 3144509..5b2bdf2 100644
--- a/bsie/reader/image/_pillow.py
+++ b/bsie/reader/image/_pillow.py
@@ -27,7 +27,7 @@ __all__: typing.Sequence[str] = (
class PillowImage(base.Reader):
"""Use PIL to read content of a variety of image file types."""
- def __call__(self, path: str) -> PIL.Image:
+ def __call__(self, path: str) -> PIL.Image.Image:
try:
# open file with PIL
return PIL.Image.open(path)