aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/reader/image/_pillow.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-02-08 19:25:19 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-02-08 19:25:19 +0100
commit7bf6b33fa6d6b901e4933bfe0b2a9939d7b3f3f3 (patch)
treed280d9d1e19e4f7a9d0d4b5405603c729e1fdcce /bsie/reader/image/_pillow.py
parent05a841215c82ef40d4679dfc4d2c26572bd4d349 (diff)
parent0d0144466919cfb168e75c2af26d5cb74e10bfa0 (diff)
downloadbsie-7bf6b33fa6d6b901e4933bfe0b2a9939d7b3f3f3.tar.gz
bsie-7bf6b33fa6d6b901e4933bfe0b2a9939d7b3f3f3.tar.bz2
bsie-7bf6b33fa6d6b901e4933bfe0b2a9939d7b3f3f3.zip
Merge branch 'previews' into develop
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)