Small linting refactor

This commit is contained in:
2Shirt 2023-06-17 18:25:12 -07:00
parent 20a0881421
commit c63b388f81
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -275,9 +275,9 @@ def build_menu(cli_mode=False, quick_mode=False) -> cli.Menu:
# Update default selections for quick mode if necessary
if quick_mode:
for name in menu.options:
for name, details in menu.options.items():
# Only select quick option(s)
menu.options[name]['Selected'] = name in MENU_OPTIONS_QUICK
details['Selected'] = name in MENU_OPTIONS_QUICK
# Skip CPU tests for TestStations
if os.path.exists(cfg.hw.TESTSTATION_FILE):