Skip to content

Commit

Permalink
Update views.py
Browse files Browse the repository at this point in the history
  • Loading branch information
95833 authored Dec 22, 2024
1 parent ea4daf3 commit dd301a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/core/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand Down

0 comments on commit dd301a2

Please sign in to comment.