mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-09 16:10:48 +03:00
[Private] argument name should be snake_case
This commit is contained in:
parent
7fa92c67b1
commit
fe4c859fc1
|
@ -883,10 +883,10 @@ def _get_palette_bytes(im):
|
||||||
return im.palette.palette
|
return im.palette.palette
|
||||||
|
|
||||||
|
|
||||||
def _get_background(im, infoBackground):
|
def _get_background(im, info_background):
|
||||||
background = 0
|
background = 0
|
||||||
if infoBackground:
|
if info_background:
|
||||||
background = infoBackground
|
background = info_background
|
||||||
if isinstance(background, tuple):
|
if isinstance(background, tuple):
|
||||||
# WebPImagePlugin stores an RGBA value in info["background"]
|
# WebPImagePlugin stores an RGBA value in info["background"]
|
||||||
# So it must be converted to the same format as GifImagePlugin's
|
# So it must be converted to the same format as GifImagePlugin's
|
||||||
|
|
Loading…
Reference in New Issue
Block a user