From a63fdc2235ec6b1546c4343ea3cb19265ecd6d71 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 7 Aug 2022 23:22:49 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/PIL/DdsImagePlugin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PIL/DdsImagePlugin.py b/src/PIL/DdsImagePlugin.py index b1a296f59..4c228bca1 100644 --- a/src/PIL/DdsImagePlugin.py +++ b/src/PIL/DdsImagePlugin.py @@ -466,6 +466,7 @@ def _save(im, fp, filename): # fmt: on + def _accept(prefix): return prefix[:4] == b"DDS "