aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/reader/image/_pillow.py
diff options
context:
space:
mode:
authorMatthias Baumgartner <dev@igsor.net>2023-02-08 19:24:37 +0100
committerMatthias Baumgartner <dev@igsor.net>2023-02-08 19:24:37 +0100
commit0d0144466919cfb168e75c2af26d5cb74e10bfa0 (patch)
treed280d9d1e19e4f7a9d0d4b5405603c729e1fdcce /bsie/reader/image/_pillow.py
parenta281d6b3a75a7d4a97e673c285ee430a327482ed (diff)
downloadbsie-0d0144466919cfb168e75c2af26d5cb74e10bfa0.tar.gz
bsie-0d0144466919cfb168e75c2af26d5cb74e10bfa0.tar.bz2
bsie-0d0144466919cfb168e75c2af26d5cb74e10bfa0.zip
minor cleanup
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)