mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Fixed launcher overwriting env variables inappropriately
This commit is contained in:
1 parent
f31f6db490
commit
7434810180
1 file changed
+4
-2
+4
-2
@@ -132,8 +132,10 @@ def main():
|
|||||||
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
|
||||||
os.environ['DEBUG'] = str(args.debug)
|
if convert_to_bool(os.environ['DEBUG']) not True:
|
||||||
os.environ['APPEND'] = str(args.append)
|
os.environ['DEBUG'] = str(args.debug)
|
||||||
|
if convert_to_bool(os.environ['APPEND']) not True:
|
||||||
|
os.environ['DEBUG'] = str(args.append)
|
||||||
|
|
||||||
if args.setup_bazarr:
|
if args.setup_bazarr:
|
||||||
prompt_and_save_bazarr_env_variables()
|
prompt_and_save_bazarr_env_variables()
|
||||||
|
|||||||
Reference in new issue
Block a user