From a3b4697965c158447900d751772e70708916392a Mon Sep 17 00:00:00 2001 From: wiredfool Date: Mon, 11 Mar 2013 22:04:34 -0700 Subject: [PATCH] typo --- PIL/TiffImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/TiffImagePlugin.py b/PIL/TiffImagePlugin.py index bf5c4c3b4..7ec194043 100644 --- a/PIL/TiffImagePlugin.py +++ b/PIL/TiffImagePlugin.py @@ -653,7 +653,7 @@ class TiffImageFile(ImageFile.ImageFile): self.fp = None # might be shared if e < 0: - raise_ioerror(e) + raise IOError(e) self.load_end()