Fix failing test case - unbound local variable in finally block

This commit is contained in:
James R. Barlow
2016-08-03 01:00:38 -07:00
parent 5c99acf6d1
commit 0746083301
-2
View File
@@ -427,8 +427,6 @@ def triage_image_file(input_file, output_file, log):
elif im.mode == 'CMYK':
log.info('Input CMYK image has no ICC profile, not usable')
sys.exit(ExitCode.input_file)
finally:
im.close()
try: