Updated exit_script()

Keep script open if log can't be opened
This commit is contained in:
Alan Mason 2017-11-18 15:42:58 -08:00
parent bda6c5d280
commit 231040526a

View file

@ -168,6 +168,7 @@ def exit_script(return_value=0):
global_vars['LogFile']])
except Exception:
print_error('ERROR: Failed to extract Notepad++ and open log.')
pause('Press Enter to exit...')
# Kill Caffeine if still running
kill_process('caffeine.exe')