Fixed typo, renamed return to raise
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user