mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-22 05:04:46 +03:00
Fix Flake8
This commit is contained in:
parent
2dcf6cafb2
commit
4ff47705a7
|
@ -293,8 +293,9 @@ class GifImageFile(ImageFile.ImageFile):
|
|||
if self.__frame == 0:
|
||||
# On the first frame, clear the buffer. Use the transparency index
|
||||
# if we have one, otherwise use the background index.
|
||||
default_color = self.info.get("transparency",
|
||||
self.info.get("background", 0))
|
||||
default_color = self.info.get(
|
||||
"transparency", self.info.get("background", 0)
|
||||
)
|
||||
self.im.paste(default_color, (0, 0, self.size[0], self.size[1]))
|
||||
|
||||
def tell(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user