Resolve error in prototype validate menu node
This commit is contained in:
parent
b96f1a5c86
commit
f4422544cd
2 changed files with 25 additions and 14 deletions
|
|
@ -377,7 +377,7 @@ def _default_parse(raw_inp, choices, *args):
|
|||
|
||||
def node_validate_prototype(caller, raw_string, **kwargs):
|
||||
"""General node to view and validate a protototype"""
|
||||
prototype = _get_flat_menu_prototype(caller, validate=False)
|
||||
prototype = _get_flat_menu_prototype(caller, refresh=True, validate=False)
|
||||
prev_node = kwargs.get("back", "index")
|
||||
|
||||
_, text = _validate_prototype(prototype)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue