Small linting refactor
This commit is contained in:
parent
20a0881421
commit
c63b388f81
1 changed files with 2 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue