From fc8a288d90dd5ff328ab16249b72533c12438aa9 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 27 Sep 2022 13:57:19 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/PIL/AniImagePlugin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PIL/AniImagePlugin.py b/src/PIL/AniImagePlugin.py index 9a30cfdc6..1e392707a 100644 --- a/src/PIL/AniImagePlugin.py +++ b/src/PIL/AniImagePlugin.py @@ -354,7 +354,7 @@ class AniFile: return im def sizes(self): - return [data['size'] for data in self.image_data] + return [data["size"] for data in self.image_data] def hotspots(self): pass @@ -364,7 +364,7 @@ class AniImageFile(ImageFile.ImageFile): """ PIL read-only image support for Microsoft Windows .ani files. - By default the largest resolution image and first frame in the file will + By default the largest resolution image and first frame in the file will be loaded. The info dictionary has four keys: