Skip to content

Commit

Permalink
Update locationpicker.py
Browse files Browse the repository at this point in the history
  • Loading branch information
95833 authored Dec 22, 2024
1 parent 7ed9c77 commit 34b0455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/locationpicker.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def open_basic_file(
if group is None:
group = session.window.active_group()
if uri.startswith("file:"):
filename = session.config.map_uri_on_payload(uri, is_from_client_to_server=False)
filename = session.config.map_server_uri_to_client_path(uri)
else:
prefix = 'res:/Packages' # Note: keep in sync with core/url.py#_to_resource_uri
assert uri.startswith(prefix)
Expand Down

0 comments on commit 34b0455

Please sign in to comment.