From ce7d6621e304363c6388f672bf04712c677e0400 Mon Sep 17 00:00:00 2001 From: Matthijs van der Burgh Date: Fri, 22 Mar 2024 14:22:34 +0100 Subject: [PATCH] (launch) fix describe of PathJoinSubstitution Signed-off-by: Matthijs van der Burgh --- launch/launch/substitutions/path_join_substitution.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launch/launch/substitutions/path_join_substitution.py b/launch/launch/substitutions/path_join_substitution.py index 0d9aa4d25..27f83328d 100644 --- a/launch/launch/substitutions/path_join_substitution.py +++ b/launch/launch/substitutions/path_join_substitution.py @@ -38,7 +38,7 @@ def substitutions(self) -> Iterable[Substitution]: def describe(self) -> Text: """Return a description of this substitution as a string.""" - return "LocalVar('{}')".format(' + '.join([s.describe() for s in self.substitutions])) + return f"PathJoin('{' + '.join([s.describe() for s in self.substitutions])}')" def perform(self, context: LaunchContext) -> Text: """Perform the substitution by retrieving the local variable."""