This commit is contained in:
parent
deae27b4e2
commit
090c49c4a3
1 changed files with 3 additions and 0 deletions
|
@ -103,6 +103,9 @@ with open("wiki/Licenses.md", "w") as f:
|
|||
f.write("<b>")
|
||||
if "license" in data:
|
||||
license = data["license"]
|
||||
if license["name"] == "":
|
||||
license["name"] = "Custom"
|
||||
|
||||
if license["url"] != None:
|
||||
f.write("<a href=\"" + license["url"] + "\">" + license["name"] + "</a>")
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue