diff --git a/src/PIL/AniImagePlugin.py b/src/PIL/AniImagePlugin.py index 0b6cebf57..99d59f068 100644 --- a/src/PIL/AniImagePlugin.py +++ b/src/PIL/AniImagePlugin.py @@ -352,7 +352,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 @@ -362,7 +362,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: