Changed default of UPDATE to true
This will benefit docker users.
This commit is contained in:
@@ -22,7 +22,7 @@ def main():
|
|||||||
output_file = "./subgen.py"
|
output_file = "./subgen.py"
|
||||||
|
|
||||||
# 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", True))
|
||||||
|
|
||||||
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...")
|
||||||
|
|||||||
Reference in New Issue
Block a user