Skip to content

Commit d1e0073

Browse files
committed
fix linters
1 parent 2bb949f commit d1e0073

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
@@ -162,7 +162,7 @@ async def main():
162162
if not img_bytes:
163163
break
164164

165-
img = Image.frombytes("RGB", (image_width, image_height), img_bytes)
165+
img = PILImage.frombytes("RGB", (image_width, image_height), img_bytes)
166166
output = remove(img, session=session, **kwargs)
167167

168168
if output_specifier:

0 commit comments

Comments
 (0)