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

This commit is contained in:
Ashley Graves 2024-08-01 01:29:11 +02:00
parent 26b073f3ea
commit d49cf72cdb

View file

@ -15,7 +15,7 @@ count["both"] = 0
cache = dict()
if os.path.isfile("licenses.json"):
with open("licenses.json") as f:
with open("licenses.json", "r") as f:
cache = json.load(f)
for mod in glob.glob("pack/mods/*.toml"):
@ -108,5 +108,5 @@ with open("wiki/Licenses.md", "w") as f:
f.write("Unknown")
f.write("</b>\r\n")
with open("licenses.json") as f:
with open("licenses.json", "w") as f:
json.dump(cache, f)