From f894f2ea21e46b9c3059275157e4387e119417ba Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Wed, 31 Jul 2024 20:29:50 -0300 Subject: [PATCH] Fix version writing --- download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):