Rembg is a tool to remove images background
fix lint
Daniel Gatis4ce48973b22b
diff --git a/rembg/cli.py b/rembg/cli.pyindex 85eb534..771ce68 100644--- a/rembg/cli.py+++ b/rembg/cli.py@@ -2,7 +2,7 @@ import pathlibimport sysimport timefrom enum import Enum-from typing import IO, Optional+from typing import IO, Optional, castimport aiohttpimport click@@ -182,14 +182,17 @@ def p(if not each_output.exists():each_output.write_bytes(- remove(each_input.read_bytes(), session=session, **kwargs)+ cast(+ bytes,+ remove(each_input.read_bytes(), session=session, **kwargs),+ ))if watch:print(f"processed: {each_input.absolute()} -> {each_output.absolute()}")- except e:+ except Exception as e:print(e)inputs = list(input.glob("**/*"))