remove chinese comment

This commit is contained in:
CrazyBoy 2025-05-29 22:57:59 +08:00 committed by GitHub
commit 63a711843b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -254,7 +254,7 @@ class API(object):
or "https://" in path.lower()
):
protocol, rest = path.split("://", 1)
ends_with_slash = rest.endswith("/") # 记录是否以/结尾
ends_with_slash = rest.endswith("/")
if "/" in rest:
host, path_part = rest.split("/", 1)
path_part = "/".join(