fix: crash: variable name error

This commit is contained in:
starnakin 2023-05-20 19:22:21 +02:00
parent 36533495e7
commit 00881516b7

View File

@ -12,9 +12,8 @@ def get_user_choice_by_menu(options: list, title = None, preview_command=None, p
try: try:
from simple_term_menu import TerminalMenu from simple_term_menu import TerminalMenu
None + 1;
terminal_menu = TerminalMenu(options, terminal_menu = TerminalMenu(options,
preview_command=preview_function, preview_command=preview_command,
title=title, title=title,
show_search_hint=show_search_hint, show_search_hint=show_search_hint,
preview_size=preview_size, preview_size=preview_size,