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:
2026-04-16 11:41:24 -04:00
parent d8a74f02dc
commit c87e1457d4

View File

@@ -40,9 +40,9 @@ def main():
choice = prompt("Select [1/2/3/4]")
if choice == "1":
another = configure_shelf()
if not another:
break
another = True
while another:
another = configure_shelf()
elif choice == "2":
firmware_update_workflow()
elif choice == "3":