fix: crash: variable name error
This commit is contained in:
parent
36533495e7
commit
00881516b7
3
menu.py
3
menu.py
@ -12,9 +12,8 @@ def get_user_choice_by_menu(options: list, title = None, preview_command=None, p
|
||||
|
||||
try:
|
||||
from simple_term_menu import TerminalMenu
|
||||
None + 1;
|
||||
terminal_menu = TerminalMenu(options,
|
||||
preview_command=preview_function,
|
||||
preview_command=preview_command,
|
||||
title=title,
|
||||
show_search_hint=show_search_hint,
|
||||
preview_size=preview_size,
|
||||
|
Loading…
Reference in New Issue
Block a user