Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

Fix black formatting in s_command.py

Daniel Gatisf2e9a4eb0a4d
diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.py
index 6096eb2..4e96f14 100644
--- a/rembg/commands/s_command.py
+++ b/rembg/commands/s_command.py
@@ -265,9 +265,7 @@ def s_command(port: int, host: str, log_level: str, threads: int, no_ui: bool) -
if not parsed.hostname:
raise ValueError("Invalid URL: missing hostname.")
if _is_private_ip(parsed.hostname):
- raise ValueError(
- "Requests to private/internal addresses are not allowed."
- )
+ raise ValueError("Requests to private/internal addresses are not allowed.")
@app.get(
path="/api/remove",