Ask to open logs in WinPE menus

* Instead of automatically opening them
This commit is contained in:
Alan Mason 2017-12-03 09:50:30 -08:00
parent 5c5b13b33c
commit 975a43f1d5

View file

@ -191,7 +191,7 @@ def menu_backup():
print_error('\t{}'.format(par['Error'])) print_error('\t{}'.format(par['Error']))
else: else:
print_success('\nNo errors were encountered during imaging.') print_success('\nNo errors were encountered during imaging.')
if 'LogFile' in global_vars: if 'LogFile' in global_vars and ask('\nReview log?'):
cmd = [ cmd = [
global_vars['Tools']['NotepadPlusPlus'], global_vars['Tools']['NotepadPlusPlus'],
global_vars['LogFile']] global_vars['LogFile']]
@ -369,7 +369,7 @@ def menu_setup():
# Print summary # Print summary
print_standard('\nDone.') print_standard('\nDone.')
if 'LogFile' in global_vars: if 'LogFile' in global_vars and ask('\nReview log?'):
cmd = [ cmd = [
global_vars['Tools']['NotepadPlusPlus'], global_vars['Tools']['NotepadPlusPlus'],
global_vars['LogFile']] global_vars['LogFile']]