From 2d12a011cd7967ee12c7b88f02cb7fbd4ed3ab55 Mon Sep 17 00:00:00 2001 From: Daniel Gatis Date: Mon, 29 May 2023 21:11:40 -0300 Subject: [PATCH] fix lint --- rembg/commands/s_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: