Skip to content

Commit

Permalink
fix: fix validate option when passing single data
Browse files Browse the repository at this point in the history
Signed-off-by: ymski <[email protected]>
  • Loading branch information
ymski committed May 9, 2024
1 parent b2f2c28 commit e539cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ros2caret/verb/summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def __init__(
filters = self._get_filters(args.d_filter_args,
args.s_filter_args)
self._lttng = Lttng(args.trace_dir, event_filters=filters,
validate=isinstance(args.trace_dir, list))
validate=len(args.trace_dir) == 1)
self._summary_df = self._get_summary_df(self._lttng, groupby)
self._filtered = len(filters) > 0

Expand Down

0 comments on commit e539cd0

Please sign in to comment.