From a2c7ad40c6df7262cab6dfbafa9310069a15a00d Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Thu, 18 Apr 2024 15:22:23 -0700 Subject: [PATCH] call get_action_interfaces() properly. 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