Further cleanup and debugging of olc menu

This commit is contained in:
Griatch 2018-07-29 20:58:56 +02:00
parent 6126391406
commit 696cb3942b
3 changed files with 69 additions and 43 deletions

View file

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