Skip to content

Commit

Permalink
Resolve arguments typing issue
Browse files Browse the repository at this point in the history
Signed-off-by: Veronica Knisley <veronica.knisley@swri.org>
  • Loading branch information
vknisley-swri committed Nov 6, 2023
1 parent dac2d14 commit e2ee8da
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion launch_ros/launch_ros/descriptions/ros_executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ def __init__(
cmd = [executable]

if ros_arguments is not None:
arguments += ['--ros-args'] + ros_arguments
if arguments is not None:
arguments.append('--ros-args')
else:
arguments = ['--ros-args']
arguments.extend(ros_arguments)

self.__package = package
self.__executable = executable
Expand Down

0 comments on commit e2ee8da

Please sign in to comment.