From 305ef763b83e42ebddc4802ac788869d178b6e93 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Tue, 23 Apr 2024 17:18:50 -0700 Subject: [PATCH] call get_action_interfaces() properly. (#898) Signed-off-by: Tomoya Fujita --- ros2action/ros2action/api/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros2action/ros2action/api/__init__.py b/ros2action/ros2action/api/__init__.py index 2f78bd793..d0bf18d67 100644 --- a/ros2action/ros2action/api/__init__.py +++ b/ros2action/ros2action/api/__init__.py @@ -75,7 +75,7 @@ def action_name_completer(prefix, parsed_args, **kwargs): def action_type_completer(**kwargs): """Callable returning a list of action types.""" action_types = [] - for package_name, action_names in get_action_interfaces.items(): + for package_name, action_names in get_action_interfaces().items(): for action_name in action_names: action_types.append(f'{package_name}/{action_name}') return action_types