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

This commit is contained in:
Ashley Graves 2024-07-27 14:55:11 +02:00
parent f09ae99eca
commit a5fdf9b7fb

View file

@ -16,17 +16,10 @@ for mod in glob.glob("pack/mods/*.toml"):
# there has to be a better way to do this # there has to be a better way to do this
try: if "modrinth" in data["update"]:
print("MR: " + data.update.modrinth["mod-id"]) 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"]:
except: url = "http://dev.bukkit.org/bukkit-plugins/" + data["update"]["curseforge"]["mod-id"]
noop()
try:
print("CF: " + data.update.curseforge["mod-id"])
url = "http://dev.bukkit.org/bukkit-plugins/" + data.update.curseforge["mod-id"]
except:
noop()
print(data) print(data)
mods[data["name"]] = url mods[data["name"]] = url