aboutsummaryrefslogtreecommitdiff
path: root/app/backends/common.py
diff options
context:
space:
mode:
authorhistoria <historiavg@proton.me>2026-08-26 17:46:48 -0400
committerhistoria <historiavg@proton.me>2026-08-26 17:46:48 -0400
commit6ccb6d443d2fb871b43d96ea61a95bc3e6a92355 (patch)
treed692ddccd6ec212cf4ebabb25a85e83af479d0fe /app/backends/common.py
parentc147087c9d4707bffaeee58d390653637a21cce8 (diff)
downloadtts-audiobook-generator-6ccb6d443d2fb871b43d96ea61a95bc3e6a92355.tar.gz
feat: combined install/configure tui screens into one menu, removed extraneous wizard screens
Diffstat (limited to 'app/backends/common.py')
-rw-r--r--app/backends/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/backends/common.py b/app/backends/common.py
index 9b6232a..25d4f31 100644
--- a/app/backends/common.py
+++ b/app/backends/common.py
@@ -222,7 +222,7 @@ def normalize_remote_url(value: str) -> str:
"Enter a host:port (e.g. 10.20.30.40:8000) or a full URL "
f"(e.g. http://10.20.30.40:8000); got {value!r}")
try:
- parts.port # raises ValueError for a non-numeric port
+ parts.port # noqa: B018 -- accessing .port raises ValueError when bad
except ValueError as exc:
raise ValueError(
f"Invalid port in remote URL {value!r}: {exc}") from exc