mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-15 12:17:47 +00:00
Fix problem with an unhandled command without a default.
This commit is contained in:
parent
a8d0ec4c3c
commit
67fe18fe3f
@ -98,7 +98,7 @@ def handle_path(path, operation, configmanager):
|
||||
passvalue = pluginmap[nodeattr[node][attrname]['value']].__dict__[operation](
|
||||
nodes=(node,), element=element,
|
||||
configmanager=configmanager)
|
||||
if plugroute['default']:
|
||||
if 'default' in plugroute:
|
||||
passvalue = pluginmap[plugroute['default']].__dict__[operation](
|
||||
nodes=(node,), element=element, configmanager=configmanager)
|
||||
if isinstance(passvalue, console.Console):
|
||||
|
Loading…
x
Reference in New Issue
Block a user