Skip to content

Commit

Permalink
gzserver.launch.py: fix _arg_command (#1502)
Browse files Browse the repository at this point in the history
Set default value of join_with paramete to '='.

Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters authored Sep 1, 2023
1 parent 24c1326 commit df368e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gazebo_ros/launch/gzserver.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def _boolean_command(arg):


# Add string command and argument if not empty
def _arg_command(arg, join_with=" "):
def _arg_command(arg, join_with="="):
cmd = ['"--', arg, join_with, '" if "" != "', LaunchConfiguration(arg), '" else ""']
py_cmd = PythonExpression(cmd)
return (py_cmd, LaunchConfiguration(arg))
Expand Down

0 comments on commit df368e6

Please sign in to comment.