mirror of
https://github.com/Dasemu/Transcriptarr.git
synced 2026-11-27 23:46:08 +00:00
Update launcher.py
This commit is contained in:
1 parent
d191762023
commit
ff2857a4bc
1 file changed
+2
-2
+2
-2
@@ -55,10 +55,10 @@ def main():
|
||||
|
||||
if not os.path.exists(subgen_script_name):
|
||||
print(f"File {subgen_script_name} does not exist. Downloading from GitHub...")
|
||||
download_from_github("https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py", subgen_script_name)
|
||||
download_from_github("https://raw.githubusercontent.com/McCloudS/subgen/main/subgen.py", subgen_script_name)
|
||||
elif convert_to_bool(os.getenv("UPDATE", "False")) or args.update:
|
||||
print(f"File exists, but UPDATE is set to True. Downloading {subgen_script_name} from GitHub...")
|
||||
download_from_github("https://raw.githubusercontent.com/McCloudS/subgen/main/subgen/subgen.py", subgen_script_name)
|
||||
download_from_github("https://raw.githubusercontent.com/McCloudS/subgen/main/subgen.py", subgen_script_name)
|
||||
else:
|
||||
print("Environment variable UPDATE is not set or set to False, skipping download.")
|
||||
|
||||
|
||||
Reference in new issue
Block a user