Skip to content

Commit

Permalink
fix the splitting when not parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
saikishor committed Aug 23, 2024
1 parent d166004 commit 51a294a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controller_manager/controller_manager/spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,13 @@ def main(args=None):
+ bcolors.ENDC
)
else:
if controller_ros_args := args.controller_ros_args.split():
if controller_ros_args := args.controller_ros_args:
if not set_controller_parameters(
node,
controller_manager_name,
controller_name,
"node_options_args",
controller_ros_args,
controller_ros_args.split(),
):
return 1
if param_file:
Expand Down

0 comments on commit 51a294a

Please sign in to comment.