Skip to content

Commit 9d5f63d

Browse files
committed
fix linters
1 parent e1537ee commit 9d5f63d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rembg/commands/b_command.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def b_command(
135135
if not os.path.isdir(output_dir):
136136
os.makedirs(output_dir, exist_ok=True)
137137

138-
def img_to_byte_array(img: PIL.Image) -> bytes:
138+
def img_to_byte_array(img: PIL.Image.Image) -> bytes:
139139
buff = io.BytesIO()
140140
img.save(buff, format="PNG")
141141
return buff.getvalue()

0 commit comments

Comments
 (0)