fix linters

This commit is contained in:
Daniel Gatis 2025-01-30 14:51:47 -03:00
parent e1537eeea9
commit 9d5f63d25f

View File

@ -135,7 +135,7 @@ def b_command(
if not os.path.isdir(output_dir):
os.makedirs(output_dir, exist_ok=True)
def img_to_byte_array(img: PIL.Image) -> bytes:
def img_to_byte_array(img: PIL.Image.Image) -> bytes:
buff = io.BytesIO()
img.save(buff, format="PNG")
return buff.getvalue()