Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

fix lint

Daniel Gatis2d12a011cd79
diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.py
index dece3eb..4fba1ce 100644
--- a/rembg/commands/s_command.py
+++ b/rembg/commands/s_command.py
@@ -203,7 +203,7 @@ def s_command(port: int, log_level: str, threads: int) -> None:
def startup():
try:
webbrowser.open(f"http://localhost:{port}")
- except:
+ except Exception:
pass
if threads is not None: