From 2a703a2d4c94eefb224de1cbd7c2209af643a258 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Fri, 17 May 2024 08:04:20 +1000 Subject: [PATCH] Removed continue --- src/PIL/Image.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 89c649981..514a543c2 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -3371,7 +3371,6 @@ def open( except (SyntaxError, IndexError, TypeError, struct.error) as e: if WARN_POSSIBLE_FORMATS: warning_messages.append(i + " opening failed. " + str(e)) - continue except BaseException: if exclusive_fp: fp.close()