diff --git a/KerbalStuff/blueprints/mods.py b/KerbalStuff/blueprints/mods.py index 4b8f4836..3229dc61 100644 --- a/KerbalStuff/blueprints/mods.py +++ b/KerbalStuff/blueprints/mods.py @@ -683,7 +683,7 @@ def delete_version(mod_id: int, version_id: str) -> werkzeug.wrappers.Response: if version.mod != mod: abort(400) - purge_download(version[0].download_path) + purge_download(version.download_path) storage = _cfg('storage') if storage: