.
This commit is contained in:
parent
6ec1519bab
commit
7c3d5db62c
1 changed files with 4 additions and 3 deletions
|
|
@ -723,9 +723,10 @@ def main():
|
|||
menu_result_queue.put(result)
|
||||
|
||||
# Run the menu in a separate thread
|
||||
menu_thread = threading.Thread(target=run_menu)
|
||||
menu_thread.start()
|
||||
menu_thread.join() # Wait for menu to complete
|
||||
#menu_thread = threading.Thread(target=run_menu)
|
||||
#menu_thread.start()
|
||||
#menu_thread.join() # Wait for menu to complete
|
||||
run_menu()
|
||||
|
||||
# Get the result from the queue
|
||||
choice = menu_result_queue.get()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue