Daniel Gatis 2 年之前
父節點
當前提交
2d12a011cd
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      rembg/commands/s_command.py

+ 1 - 1
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: