Added ENABLED_OPEN_LOGS toggle var
This commit is contained in:
parent
ae7ba9cba4
commit
91b5dbfe88
2 changed files with 3 additions and 2 deletions
|
|
@ -162,7 +162,7 @@ def exit_script(return_value=0):
|
||||||
|
|
||||||
# Open Log (if it exists)
|
# Open Log (if it exists)
|
||||||
log = global_vars.get('LogFile', '')
|
log = global_vars.get('LogFile', '')
|
||||||
if log and os.path.exists(log) and psutil.WINDOWS:
|
if log and os.path.exists(log) and psutil.WINDOWS and ENABLED_OPEN_LOGS:
|
||||||
try:
|
try:
|
||||||
extract_item('NotepadPlusPlus', silent=True)
|
extract_item('NotepadPlusPlus', silent=True)
|
||||||
popen_program(
|
popen_program(
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
# Wizard Kit: Settings - Main / Branding
|
# Wizard Kit: Settings - Main / Branding
|
||||||
|
|
||||||
# Features
|
# Features
|
||||||
ENABLED_UPLOAD_DATA = False
|
ENABLED_OPEN_LOGS = False
|
||||||
ENABLED_TICKET_NUMBERS = False
|
ENABLED_TICKET_NUMBERS = False
|
||||||
|
ENABLED_UPLOAD_DATA = False
|
||||||
|
|
||||||
# STATIC VARIABLES (also used by BASH and BATCH files)
|
# STATIC VARIABLES (also used by BASH and BATCH files)
|
||||||
## NOTE: There are no spaces around the = for easier parsing in BASH and BATCH
|
## NOTE: There are no spaces around the = for easier parsing in BASH and BATCH
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue