Skip to content

Commit

Permalink
Merge pull request #14 from stephane-caron/try_package_name
Browse files Browse the repository at this point in the history
Try package name as directory name in file search
  • Loading branch information
clemense authored May 4, 2022
2 parents d3fce6b + 1e38e40 commit 37429e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/yourdfpy/urdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ def filename_handler_magic(fname, dir):
"""
return filename_handler_meta(
fname=fname,
filename_handlers=[partial(filename_handler_relative, dir=dir)]
filename_handlers=[
partial(filename_handler_relative, dir=dir),
filename_handler_ignore_directive,
]
+ _create_filename_handlers_to_urdf_file_recursive(urdf_fname=dir),
)

Expand Down

0 comments on commit 37429e1

Please sign in to comment.