Skip to content

Commit 633abcb

Browse files
radarherehugovk
andauthored
Updated error message
Co-authored-by: Hugo van Kemenade <[email protected]>
1 parent 56324c3 commit 633abcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PIL/FtexImagePlugin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ class FtexImageFile(ImageFile.ImageFile):
9595

9696
def _open(self):
9797
if not _accept(self.fp.read(4)):
98-
raise SyntaxError("not a FTEX file")
98+
raise SyntaxError("not an FTEX file")
9999
struct.unpack("<i", self.fp.read(4)) # version
100100
self._size = struct.unpack("<2i", self.fp.read(8))
101101
mipmap_count, format_count = struct.unpack("<2i", self.fp.read(8))

0 commit comments

Comments
 (0)