forked from cswimr/SeaCogs
fix(bible): pylint fix
This commit is contained in:
parent
7ca836759f
commit
19fc6adaad
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Bible(commands.Cog):
|
|||
image = Image.open(image_path)
|
||||
image = image.convert("RGBA")
|
||||
data = np.array(image)
|
||||
red, green, blue, alpha = data.T
|
||||
red, green, blue, alpha = data.T # pylint: disable=unused-variable
|
||||
white_areas = (red == 255) & (blue == 255) & (green == 255)
|
||||
data[..., :-1][white_areas.T] = color.to_rgb()
|
||||
image = Image.fromarray(data)
|
||||
|
|
Loading…
Reference in a new issue