Fix 'configure another shelf' looping back to main menu
When configure_shelf() returned True the outer while loop re-displayed the main menu instead of starting the next shelf cycle immediately. Now loops directly back into configure_shelf() until the user declines. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,9 +40,9 @@ def main():
|
||||
|
||||
choice = prompt("Select [1/2/3/4]")
|
||||
if choice == "1":
|
||||
another = True
|
||||
while another:
|
||||
another = configure_shelf()
|
||||
if not another:
|
||||
break
|
||||
elif choice == "2":
|
||||
firmware_update_workflow()
|
||||
elif choice == "3":
|
||||
|
||||
Reference in New Issue
Block a user