Update launcher.py

This commit is contained in:
McCloudS authored and GitHub committed 2024-10-01 00:28:13 -06:00
1 parent ceb565ef30
commit babc0faa97
1 file changed
+3 -3
+3 -3
View File
@@ -131,10 +131,10 @@ def main():
print(f"Running launcher-{branch_name}.py for the '{branch_name}' branch.") print(f"Running launcher-{branch_name}.py for the '{branch_name}' branch.")
os.execl(sys.executable, sys.executable, f"launcher{script_name}", *new_args) os.execl(sys.executable, sys.executable, f"launcher{script_name}", *new_args)
# Set environment variables based on the parsed arguments # Set environment variables based on the parsed arguments
if not convert_to_bool(os.environ.get('DEBUG', '')): if not convert_to_bool(os.environ.get('DEBUG', '')):
os.environ['DEBUG'] = str(args.debug) os.environ['DEBUG'] = str(args.debug)
if not convert_to_bool(os.environ.get('APPEND', '')): if not convert_to_bool(os.environ.get('APPEND', '')):
os.environ['APPEND'] = str(args.append) os.environ['APPEND'] = str(args.append)
if args.setup_bazarr: if args.setup_bazarr: