aboutsummaryrefslogtreecommitdiffstats
path: root/bsie/reader/image/_raw.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsie/reader/image/_raw.py')
-rw-r--r--bsie/reader/image/_raw.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsie/reader/image/_raw.py b/bsie/reader/image/_raw.py
index 77be357..cd60453 100644
--- a/bsie/reader/image/_raw.py
+++ b/bsie/reader/image/_raw.py
@@ -45,7 +45,7 @@ class RawImage(base.Reader):
def __call__(self, path: str) -> PIL.Image:
# perform quick checks first
if not self._match(path):
- raise errors.ReaderError(path)
+ raise errors.UnsupportedFileFormatError(path)
try:
# open file with rawpy