Update launcher.py

This commit is contained in:
McCloudS
2024-02-11 09:40:20 -07:00
committed by GitHub
parent b9d1fbbfe4
commit 2b8610ef6f

View File

@@ -24,7 +24,7 @@ def main():
# Check if the environment variable is set # Check if the environment variable is set
github_download_enabled = convert_to_bool(os.getenv("UPDATE", False)) github_download_enabled = convert_to_bool(os.getenv("UPDATE", False))
if not os.path.exists(output_file): if not os.path.exists(output_file):
print(f"File {output_file} does not exist. Downloading from GitHub...") print(f"File {output_file} does not exist. Downloading from GitHub...")
download_from_github(github_url, output_file) download_from_github(github_url, output_file)
elif github_download_enabled: elif github_download_enabled: