Further cleanup and debugging of olc menu
This commit is contained in:
parent
6126391406
commit
696cb3942b
3 changed files with 69 additions and 43 deletions
|
|
@ -1145,7 +1145,6 @@ def list_node(option_generator, select=None, pagesize=10):
|
|||
for eopt in decorated_options:
|
||||
cback = ("goto" in eopt and "goto") or ("exec" in eopt and "exec") or None
|
||||
if cback:
|
||||
print("eopt, cback: {} {}".format(eopt, cback))
|
||||
signature = eopt[cback]
|
||||
if callable(signature):
|
||||
# callable with no kwargs defined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue