Fixed typo, renamed return to raise

This commit is contained in:
Roberto Rosario
2011-08-05 03:48:15 -04:00
parent cd0b1577a7
commit 3108c33c6d

View File

@@ -38,7 +38,7 @@ class ConverterClass(ConverterBase):
try: try:
im = Image.open(input_filepath) im = Image.open(input_filepath)
except IOError: #cannot identify image file except IOError: #cannot identify image file
return UnknownFileFormat raise UnknownFileFormat
try: try:
while 1: while 1: