Skip to content

Commit

Permalink
fix for #44
Browse files Browse the repository at this point in the history
  • Loading branch information
tobi committed Nov 27, 2021
1 parent 7e8766c commit ff410e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions BlenderUpdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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):
Expand Down

0 comments on commit ff410e9

Please sign in to comment.