From 63a711843bb71c540ce51bf5a68c818590bfd175 Mon Sep 17 00:00:00 2001 From: CrazyBoy Date: Thu, 29 May 2025 22:57:59 +0800 Subject: [PATCH] remove chinese comment --- jellyfin_kodi/helper/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jellyfin_kodi/helper/api.py b/jellyfin_kodi/helper/api.py index eba1f130..a43f1251 100644 --- a/jellyfin_kodi/helper/api.py +++ b/jellyfin_kodi/helper/api.py @@ -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(