优化内容:代理设置

This commit is contained in:
Daniel
2026-03-16 22:24:02 +08:00
parent 3b3fac1cee
commit 29c473890a
2 changed files with 3 additions and 3 deletions

View File

@@ -627,7 +627,7 @@ def _proxy_preview_for_log(proxy: str) -> str:
def _normalize_proxy_scheme_to_socks5h(proxy: str) -> str:
"""若代理是隧道地址但用了 http改为 socks5h7006 需 socks5"""
"""若代理是隧道地址但用了 http改为 socks5h7006 需 socks5h)。"""
if not proxy or not isinstance(proxy, str):
return proxy
p = proxy.strip()