From dcb01242dc37c71b7c5a106abcb0bd14850ba427 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 27 Oct 2022 00:49:08 +0000 Subject: [PATCH 1/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index f44e4415a..25fa0081f 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -227,7 +227,7 @@ SAVE = {} SAVE_ALL = {} # Convert jpg to jpeg, Can apply other case. FORMAT_MAP = { - 'JPG': 'jpeg', + "JPG": "jpeg", } EXTENSION = {} DECODERS = {} From 5c5b0e94421afb8de0e85ef8fe5a0fa92d1712ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EA=B1=B4=ED=9D=AC?= <57613780+ccgeonhee@users.noreply.github.com> Date: Thu, 27 Oct 2022 09:57:05 +0900 Subject: [PATCH 2/2] Update Image.py MODIFY Unintentional changes --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 25fa0081f..83e4e4ee4 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -97,7 +97,7 @@ try: # import Image and use the Image.core variable instead. # Also note that Image.core is not a publicly documented interface, # and should be considered private and subject to change. - from .. import _imaging as core + from . import _imaging as core if __version__ != getattr(core, "PILLOW_VERSION", None): raise ImportError(