Skip to content

Commit

Permalink
Fix bag_path being a string when supposed to
Browse files Browse the repository at this point in the history
be a path
Distro A, OPSEC #4584

Signed-off-by: Jacob Hassold <[email protected]>
  • Loading branch information
Jacob Hassold committed Mar 30, 2021
1 parent a2e72de commit ee899c6
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions rosbag2_py/test/test_reindexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@


def test_reindexer_multiple_files():
bag_path = str(Path(__file__).parent.parent
/ 'resources' / 'reindex_test_bags' / 'multiple_files')
bag_path = Path(__file__).parent.parent / 'resources' / 'reindex_test_bags' / 'multiple_files'
result_path = bag_path / 'metadata.yaml'

storage_options, converter_options = get_rosbag_options(bag_path)

storage_options, converter_options = get_rosbag_options(str(bag_path))
reindexer = rosbag2_py.Reindexer()
reindexer.reindex(storage_options)

Expand Down

0 comments on commit ee899c6

Please sign in to comment.