diff --git a/download.py b/download.py index ab3fb88..47ef71a 100644 --- a/download.py +++ b/download.py @@ -114,7 +114,7 @@ def download_file(edit): os.makedirs(os.path.dirname(path)) # Write VERSION file - with open(f"./downloads/{edit['name']}/VERSION", "w") as version_file: + with open(f"{DOWNLOAD_PATH}/{edit['name']}/VERSION", "w") as version_file: version_file.write(edit["version"]) # If file already exists, skip download if os.path.exists(path):