Resolve error in prototype validate menu node

This commit is contained in:
Griatch 2018-08-23 22:09:36 +02:00
parent b96f1a5c86
commit f4422544cd
2 changed files with 25 additions and 14 deletions

View file

@ -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)