test
Some checks failed
Update wiki / test (push) Failing after 16s

This commit is contained in:
Ashley Graves 2024-08-01 01:13:01 +02:00
parent e101af805f
commit 59d2c1cb25

View file

@ -29,7 +29,7 @@ for mod in glob.glob("pack/mods/*.toml"):
data = json.loads(requests.get("https://api.modrinth.com/v2/project/" + id)) data = json.loads(requests.get("https://api.modrinth.com/v2/project/" + id))
print(data) print(data)
return exit
elif "curseforge" in data["update"]: elif "curseforge" in data["update"]:
moddata["url"] = "https://legacy.curseforge.com/projects/" + str(data["update"]["curseforge"]["project-id"]) moddata["url"] = "https://legacy.curseforge.com/projects/" + str(data["update"]["curseforge"]["project-id"])
moddata["site"] = "CurseForge" moddata["site"] = "CurseForge"