diff --git a/confluent/pluginapi.py b/confluent/pluginapi.py index 638a6376..d0033063 100644 --- a/confluent/pluginapi.py +++ b/confluent/pluginapi.py @@ -86,8 +86,8 @@ def handle_path(path, operation, configmanager): nodeattr = configmanager.get_node_attributes( [node], plugroute['pluginattrs']) for attrname in plugroute['pluginattrs']: - if attrname in nodeattr: - return pluginmap[nodeattr[attrname]].__dict__[operation]( + if attrname in nodeattr[node]: + return pluginmap[nodeattr[node][attrname]['value']].__dict__[operation]( node=(node), operation=operation, configmanager=configmanager)