test
All checks were successful
Update wiki / test (push) Successful in 19s

This commit is contained in:
Ashley Graves 2024-08-01 01:46:25 +02:00
parent deae27b4e2
commit 090c49c4a3

View file

@ -103,6 +103,9 @@ with open("wiki/Licenses.md", "w") as f:
f.write("<b>") f.write("<b>")
if "license" in data: if "license" in data:
license = data["license"] license = data["license"]
if license["name"] == "":
license["name"] = "Custom"
if license["url"] != None: if license["url"] != None:
f.write("<a href=\"" + license["url"] + "\">" + license["name"] + "</a>") f.write("<a href=\"" + license["url"] + "\">" + license["name"] + "</a>")
else: else: