From ff410e9aa3dddd9289db767a7f3041b73f6ab221 Mon Sep 17 00:00:00 2001 From: tobi Date: Sat, 27 Nov 2021 12:43:29 +0100 Subject: [PATCH] fix for #44 --- BlenderUpdater.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/BlenderUpdater.py b/BlenderUpdater.py index 132c42e..091e8b2 100644 --- a/BlenderUpdater.py +++ b/BlenderUpdater.py @@ -333,10 +333,10 @@ def parse_description(element): parts = element.text.split(" - ") output = {} output["date"] = clean(parts[0]) - output["name"] = clean(parts[1]) - output["hash"] = clean(parts[2]) - output["type"] = clean(parts[3]) - output["size"] = clean(parts[4]) + # output["name"] = clean(parts[1]) + output["hash"] = clean(parts[1]) + output["type"] = clean(parts[2]) + output["size"] = clean(parts[3]) return output # iterate through the found versions @@ -362,7 +362,7 @@ def parse_description(element): info["size"] = description_data["size"] info["type"] = description_data["type"] info["url"] = clean(url) - info["version"] = description_data["name"] + "_" + description_data["hash"] + info["version"] = name + "_" + description_data["hash"] # Set "os" based on URL if "windows" in clean(url):