parent
e101af805f
commit
59d2c1cb25
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ for mod in glob.glob("pack/mods/*.toml"):
|
|||
|
||||
data = json.loads(requests.get("https://api.modrinth.com/v2/project/" + id))
|
||||
print(data)
|
||||
return
|
||||
exit
|
||||
elif "curseforge" in data["update"]:
|
||||
moddata["url"] = "https://legacy.curseforge.com/projects/" + str(data["update"]["curseforge"]["project-id"])
|
||||
moddata["site"] = "CurseForge"
|
||||
|
|
Loading…
Reference in a new issue