From d1e00734f8a996abf512a3a5c251c7a9a392c90a Mon Sep 17 00:00:00 2001 From: Daniel Gatis Date: Thu, 23 May 2024 21:24:00 -0300 Subject: [PATCH] fix linters --- rembg/commands/b_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rembg/commands/b_command.py b/rembg/commands/b_command.py index 7683f6f3..21fc64a1 100644 --- a/rembg/commands/b_command.py +++ b/rembg/commands/b_command.py @@ -162,7 +162,7 @@ async def main(): if not img_bytes: break - img = Image.frombytes("RGB", (image_width, image_height), img_bytes) + img = PILImage.frombytes("RGB", (image_width, image_height), img_bytes) output = remove(img, session=session, **kwargs) if output_specifier: