Merge remote-tracking branch 'upstream/dev' into dev
This commit is contained in:
commit
1b7c248102
2 changed files with 4 additions and 2 deletions
|
|
@ -35,6 +35,7 @@ NVME_WARNING_KEYS = (
|
|||
'reliability_degraded',
|
||||
'volatile_memory_backup_failed',
|
||||
)
|
||||
SMART_SELF_TEST_START_TIMEOUT_IN_SECONDS = 120
|
||||
WK_LABEL_REGEX = re.compile(
|
||||
fr'{KIT_NAME_SHORT}_(LINUX|UFD)',
|
||||
re.IGNORECASE,
|
||||
|
|
@ -504,6 +505,9 @@ class Disk(BaseObj):
|
|||
|
||||
elif 'remaining_percent' in test_details.get('status', {}):
|
||||
started = True
|
||||
elif _i * 5 >= SMART_SELF_TEST_START_TIMEOUT_IN_SECONDS:
|
||||
# Test didn't start within limit, stop waiting
|
||||
break
|
||||
|
||||
# Check result
|
||||
if finished:
|
||||
|
|
|
|||
|
|
@ -134,8 +134,6 @@ class Menu():
|
|||
checkmark = '*'
|
||||
if 'DISPLAY' in os.environ or PLATFORM == 'Darwin':
|
||||
checkmark = '✓'
|
||||
if os.path.exists('/.wk-live-macos'):
|
||||
checkmark = '*'
|
||||
display_name = f'{index if index else name[:1].upper()}: '
|
||||
if not (index and index >= 10):
|
||||
display_name = f' {display_name}'
|
||||
|
|
|
|||
Loading…
Reference in a new issue