Add option to upload hw-diag results for review
This commit is contained in:
parent
dac20b12f1
commit
d8024be2c3
1 changed files with 11 additions and 0 deletions
|
|
@ -1634,6 +1634,17 @@ def show_results(state):
|
||||||
# Update progress
|
# Update progress
|
||||||
update_progress_pane(state)
|
update_progress_pane(state)
|
||||||
|
|
||||||
|
# Ask for review
|
||||||
|
if ENABLED_UPLOAD_DATA and ask('Upload results for review?'):
|
||||||
|
try_and_print(
|
||||||
|
message='Saving debug reports...',
|
||||||
|
function=save_debug_reports,
|
||||||
|
state=state, global_vars=global_vars)
|
||||||
|
try_and_print(
|
||||||
|
message='Uploading Data...',
|
||||||
|
function=upload_logdir,
|
||||||
|
global_vars=global_vars)
|
||||||
|
|
||||||
|
|
||||||
def update_main_options(state, selection, main_options):
|
def update_main_options(state, selection, main_options):
|
||||||
"""Update menu and state based on selection."""
|
"""Update menu and state based on selection."""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue