Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
diegoferigo committed Feb 28, 2024
1 parent 8f91424 commit e775d67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolve_robotics_uri_py/resolve_robotics_uri_py.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def resolve_robotics_uri(uri: str) -> pathlib.Path:
msg = "resolve-robotics-uri-py: No file corresponding to URI '{}' found"
raise FileNotFoundError(msg.format(uri))

return uri_file_path
return uri_file_path.resolve()

# List of matching resources found
model_filenames = []
Expand Down Expand Up @@ -157,7 +157,7 @@ def resolve_robotics_uri(uri: str) -> pathlib.Path:

if len(model_filenames) >= 1:
assert model_filenames[0].exists()
return pathlib.Path(model_filenames[0])
return pathlib.Path(model_filenames[0]).resolve()


def main():
Expand Down

0 comments on commit e775d67

Please sign in to comment.