From dd301a2d7fba539f1dc489a864859b9616852c86 Mon Sep 17 00:00:00 2001 From: 95833 <987004590@qq.com> Date: Sun, 22 Dec 2024 19:22:10 +0800 Subject: [PATCH] Update views.py --- plugin/core/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/core/views.py b/plugin/core/views.py index b63df4039..654fabef7 100644 --- a/plugin/core/views.py +++ b/plugin/core/views.py @@ -771,7 +771,7 @@ def location_to_human_readable( scheme, _ = parse_uri(uri) if scheme == "file": fmt = "{}:{}" - pathname = config.map_uri_on_payload(uri, is_from_client_to_server=False) + pathname = config.map_server_uri_to_client_path(uri) if base_dir and is_subpath_of(pathname, base_dir): pathname = pathname[len(os.path.commonprefix((pathname, base_dir))) + 1:] elif scheme == "res":