Skip to content

Commit ff410e9

Browse files
author
tobi
committed
fix for #44
1 parent 7e8766c commit ff410e9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

BlenderUpdater.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -333,10 +333,10 @@ def parse_description(element):
333333
parts = element.text.split(" - ")
334334
output = {}
335335
output["date"] = clean(parts[0])
336-
output["name"] = clean(parts[1])
337-
output["hash"] = clean(parts[2])
338-
output["type"] = clean(parts[3])
339-
output["size"] = clean(parts[4])
336+
# output["name"] = clean(parts[1])
337+
output["hash"] = clean(parts[1])
338+
output["type"] = clean(parts[2])
339+
output["size"] = clean(parts[3])
340340
return output
341341

342342
# iterate through the found versions
@@ -362,7 +362,7 @@ def parse_description(element):
362362
info["size"] = description_data["size"]
363363
info["type"] = description_data["type"]
364364
info["url"] = clean(url)
365-
info["version"] = description_data["name"] + "_" + description_data["hash"]
365+
info["version"] = name + "_" + description_data["hash"]
366366

367367
# Set "os" based on URL
368368
if "windows" in clean(url):

0 commit comments

Comments
 (0)