This commit is contained in:
parent
a4b5559e53
commit
2fe17450b0
1 changed files with 1 additions and 2 deletions
|
@ -19,9 +19,8 @@ for mod in glob.glob("pack/mods/*.toml"):
|
||||||
if "modrinth" in data["update"]:
|
if "modrinth" in data["update"]:
|
||||||
url = "https://modrinth.com/mod/" + data["update"]["modrinth"]["mod-id"]
|
url = "https://modrinth.com/mod/" + data["update"]["modrinth"]["mod-id"]
|
||||||
elif "curseforge" in data["update"]:
|
elif "curseforge" in data["update"]:
|
||||||
url = "http://dev.bukkit.org/bukkit-plugins/" + data["update"]["curseforge"]["project-id"]
|
url = "http://dev.bukkit.org/bukkit-plugins/" + str(data["update"]["curseforge"]["project-id"])
|
||||||
|
|
||||||
print(data)
|
|
||||||
mods[data["name"]] = url
|
mods[data["name"]] = url
|
||||||
|
|
||||||
with open("wiki/Modlist.md", "w") as f:
|
with open("wiki/Modlist.md", "w") as f:
|
||||||
|
|
Loading…
Reference in a new issue